Revision 3e95b421
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/DistortedNode.java | ||
---|---|---|
241 | 241 |
GLES30.glClearColor(0.0f, 0.0f, 0.0f, 0.0f); |
242 | 242 |
GLES30.glClear( GLES30.GL_DEPTH_BUFFER_BIT | GLES30.GL_COLOR_BUFFER_BIT); |
243 | 243 |
|
244 |
android.util.Log.e("NODE", "clearing DEPTH buffer of FBO "); |
|
245 |
|
|
246 | 244 |
if( mSurface.setAsInput() ) |
247 | 245 |
{ |
248 | 246 |
numRenders++; |
src/main/java/org/distorted/library/DistortedRenderState.java | ||
---|---|---|
164 | 164 |
{ |
165 | 165 |
sDepthMask = mDepthMask; |
166 | 166 |
GLES30.glDepthMask(sDepthMask==1); |
167 |
|
|
168 |
android.util.Log.e("STATE","switching depth mask to "+(sDepthMask==1)); |
|
169 | 167 |
} |
170 | 168 |
|
171 | 169 |
// 4. Enable Blending? |
Also available in: Unified diff
Minor.