no setDepthBufferWrite?

Started by MichaelJPCT, August 31, 2016, 08:13:16 AM

Previous topic - Next topic

MichaelJPCT

i have an object (a sky plane, or sky dome) which should not affect depth buffer. but in JPCT-AE there is no setDepthBufferWrite(), so now i have to clear depth buffer after drawing the sky.
it would be better if there is the setting.
also, setDepthBufferTest() could be useful too.

EgonOlsen

I see your point, but clearing the depth buffer is actually a NOP on modern hardware.