Revision 8c327653
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/Distorted.java | ||
---|---|---|
112 | 112 |
mainProgram.bindAndEnableAttributes(); |
113 | 113 |
mMainProgramAttributes = mainProgram.getAttributes(); |
114 | 114 |
|
115 |
GLES20.glEnable (GLES20.GL_DEPTH_TEST); |
|
116 | 115 |
GLES20.glDepthFunc(GLES20.GL_LEQUAL); |
117 | 116 |
GLES20.glEnable(GLES20.GL_BLEND); |
118 | 117 |
GLES20.glBlendFunc(GLES20.GL_SRC_ALPHA, GLES20.GL_ONE_MINUS_SRC_ALPHA); |
Also available in: Unified diff
First attempt at making it possible to dynamically add and remove DEPTH attachments from an FBO.