Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Unable to get DepthBias in code #399

Open
RonenNess opened this issue May 2, 2020 · 0 comments
Open

Unable to get DepthBias in code #399

RonenNess opened this issue May 2, 2020 · 0 comments

Comments

@RonenNess
Copy link

RonenNess commented May 2, 2020

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.

@RonenNess RonenNess changed the title Can't set DepthBias from code Unable to get DepthBias in code May 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant