Revision 86c352e0
Added by Leszek Koltunski almost 6 years ago
src/main/java/org/distorted/library/main/DistortedOutputSurface.java | ||
---|---|---|
388 | 388 |
// Otherwise, render to a buffer and on each change of Postprocessing Bucket, apply the postprocessing |
389 | 389 |
// to a whole buffer (lastQueue.postprocess) and merge it (this.oitBuild). |
390 | 390 |
|
391 |
/* |
|
392 |
int renderChildren1(long time, int numChildren, ArrayList<DistortedNode> children, int fbo, boolean oit) |
|
393 |
{ |
|
394 |
oitClear(this); |
|
395 |
setAsOutputFBO(time,fbo); |
|
396 |
mChildren.get(0).drawOIT(time, this); |
|
397 |
GLES31.glMemoryBarrier(GLES31.GL_SHADER_STORAGE_BARRIER_BIT | GLES31.GL_ATOMIC_COUNTER_BARRIER_BIT); |
|
398 |
oitRender(time, fbo); |
|
399 |
|
|
400 |
return 0; |
|
401 |
} |
|
402 |
*/ |
|
403 |
|
|
391 | 404 |
int renderChildren(long time, int numChildren, ArrayList<DistortedNode> children, int fbo, boolean oit) |
392 | 405 |
{ |
393 | 406 |
int quality=0, internalQuality = 0, numRenders = 0, bucketChange = 0; |
Also available in: Unified diff
Some progress with not-postprocessed OIT.