xamarin / urho

Code to integrate with the Urho3D engine
Other
463 stars 122 forks source link

Unable to get DepthBias in code #399

Open RonenNess opened 4 years ago

RonenNess commented 4 years ago

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.