Project

General

Profile

« Previous | Next » 

Revision 3493ef61

Added by Leszek Koltunski over 6 years ago

Improve Blur (boundaries should be more white than black)

View differences:

src/main/java/org/distorted/library/effect/PostprocessEffectBlur.java
129 129
 *
130 130
 * @y.exclude
131 131
 */
132
 public int getQuality()
132
  public int getQuality()
133 133
   {
134 134
   return mQualityLevel;
135 135
   }
......
190 190
    buffer.setAsInput(1);
191 191

  
192 192
    GLES31.glColorMask(true,true,true,true);
193
    GLES31.glClearColor(0.0f,0.0f,0.0f,0.0f);
193
    GLES31.glClearColor(1.0f,1.0f,1.0f,0.0f);
194 194
    GLES31.glClear(GLES31.GL_COLOR_BUFFER_BIT);
195 195

  
196 196
    GLES31.glUniform1f ( mProgram2.mUniform[0] , n );

Also available in: Unified diff