Project

General

Profile

« Previous | Next » 

Revision f2367b75

Added by Leszek Koltunski about 7 years ago

Upgrade from GLSL 1.00 to GLSL 3.00 ES
Introduce separate BLUR1 and BLUR2 shaders, the second one marging (writing to gl_FragDepth still does not work)

View differences:

src/main/java/org/distorted/library/DistortedTexture.java
133 133
    {
134 134
    if( mColorH[0]>0 )
135 135
      {
136
      GLES30.glActiveTexture(GLES30.GL_TEXTURE0);
136 137
      GLES30.glBindTexture(GLES30.GL_TEXTURE_2D, mColorH[0]);
137 138
      return true;
138 139
      }

Also available in: Unified diff