Revision af662543
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/examples/fbo/FBORenderer.java | ||
---|---|---|
74 | 74 |
if( depth ) mRoot.glEnable (GLES30.GL_DEPTH_TEST); |
75 | 75 |
else mRoot.glDisable(GLES30.GL_DEPTH_TEST); |
76 | 76 |
|
77 |
mRoot.glDepthMask(depth); |
|
77 |
// TODO for some reason this does not work - investigate. |
|
78 |
//mRoot.glDepthMask(depth); |
|
78 | 79 |
|
79 | 80 |
// we can also, to save memory, delete/recreate |
80 | 81 |
// the depth buffer each time. This is optional. |
Also available in: Unified diff
Fixes for z-fighting.