Revision 9455da17
Added by Leszek Koltunski about 6 years ago
src/main/java/org/distorted/library/effect/PostprocessEffectGlow.java | ||
---|---|---|
183 | 183 |
outBuffer.bindForOutput(1); |
184 | 184 |
inBuffer.setAsInput(0); |
185 | 185 |
|
186 |
GLES31.glColorMask(true,true,true,true); |
|
187 |
GLES31.glClearColor(1.0f,1.0f,1.0f,0.0f); |
|
188 |
GLES31.glClear(GLES31.GL_COLOR_BUFFER_BIT); |
|
189 |
|
|
186 | 190 |
GLES31.glUniform1f ( mProgram1.mUniform[0] , n ); |
187 | 191 |
GLES31.glUniform2f ( mProgram1.mUniform[1] , corrW, corrH ); |
188 | 192 |
GLES31.glUniform1i ( mProgram1.mUniform[2] , 0 ); |
Also available in: Unified diff
Fix for bug #28: looks of the borders of a blurred object depend on if the object is the first in the postprocessing bucket.