Repro (works when a version less than 7.10 is chosen)
After this PR edges are missing when culling is turned on using engine.setState
with onBindObservable
. Could be user error but reporting here just in case.
Reverting this line fixes it:
Repro (works when a version less than 7.10 is chosen)
After this PR edges are missing when culling is turned on using engine.setState
with onBindObservable
. Could be user error but reporting here just in case.
Reverting this line fixes it:
This is a user error. The material used to render the edges is created with backFaceCulling = false
, so if you enable backface culling, it will fail. As a general rule, you should never call engine.setState
yourself; the system will do this based on the settings you have defined for your material.