www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: MichaelJPCT on August 31, 2016, 08:13:16 am

Title: no setDepthBufferWrite?
Post by: MichaelJPCT on August 31, 2016, 08:13:16 am
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.
Title: Re: no setDepthBufferWrite?
Post by: EgonOlsen on August 31, 2016, 10:01:28 am
I see your point, but clearing the depth buffer is actually a NOP on modern hardware.