Revision 27cd6b98
Added by Leszek Koltunski about 6 years ago
src/main/java/org/distorted/library/main/DistortedEffects.java | ||
---|---|---|
274 | 274 |
{ |
275 | 275 |
float halfZ = halfW*mesh.zFactor; |
276 | 276 |
|
277 |
android.util.Log.d("surface", "SurfaceID "+ surface.getID()+" transparent fragments: "+ surface.returnOldCounter() ); |
|
278 |
|
|
277 | 279 |
mM.compute(currTime); |
278 | 280 |
mV.compute(currTime,halfW,halfH,halfZ); |
279 | 281 |
mF.compute(currTime,halfW,halfH); |
... | ... | |
285 | 287 |
GLES31.glUniform1i(mMainTextureH, 0); |
286 | 288 |
GLES31.glUniform1i(mCountIndexH, surface.resetNewCounter() ); |
287 | 289 |
|
288 |
android.util.Log.d("surface", "SurfaceID "+ surface.getID()+" transparent fragments: "+ surface.returnCounter() ); |
|
289 |
|
|
290 | 290 |
if( Distorted.GLSL >= 300 ) |
291 | 291 |
{ |
292 | 292 |
GLES31.glBindBuffer(GLES31.GL_ARRAY_BUFFER, mesh.mAttVBO[0]); |
Also available in: Unified diff
SSBO: more and more works...