xamarin/urho

Unable to get DepthBias in code

Opened this issue · 0 comments

No matter what value I put in DepthBias constant value:

material.DepthBias = new BiasParameters(-1f, 0f, 0f); <-- put literally anything instead of 1f

When trying to retrieve it, I always get BiasParameters with 0,0,0 on all values.
I'm not 100% sure its actually set, but it seems like it does change depth bias and problem is with the get.