Project

General

Profile

« Previous | Next » 

Revision 5c83f4b4

Added by Leszek Koltunski almost 7 years ago

Progress with Stencil in Postprocessing: stencil during the 1st stage postprocess (buffer1->buffer2) works now, provided quality is HIGHEST.
(lower quality --> render errors, looks like Stencil is not set up correctly then)

View differences:

src/main/java/org/distorted/library/EffectQueuePostprocess.java
318 318
      GLES30.glDrawArrays(GLES30.GL_TRIANGLE_STRIP, 0, 4);
319 319

  
320 320
      // after each postprocess, clear the STENCIL
321
      buffer1.setAsOutput(time);
321
      buffer2.setAsOutput(time);
322 322
      GLES30.glClear(GLES30.GL_STENCIL_BUFFER_BIT);
323 323
      }
324 324

  

Also available in: Unified diff