Hello!
I’ve found a potential bug with engine.setDepthWrite
and onBeforeRenderingGroupObservable
.
In the following PG setting engine.setDepthWrite(false)
in onBeforeRenderingGroupObservable
has the same effect as scene.setRenderingAutoClearDepthStencil(1, false)
and I don’t understand why so I guess it’s a bug, or is there something that I’ve missed?
Please see comments in PG.
Thanks!