Project

General

Profile

« Previous | Next » 

Revision 2ed1c692

Added by Leszek Koltunski about 7 years ago

1) stop culling back face
2) reset OpenGL state beore each render (and not in onCreate)
3) Improve Matrix3D so that we can test negative Scales

View differences:

src/main/java/org/distorted/library/DistortedOutputSurface.java
143 143
      DistortedSurface.debugLists();
144 144
      }
145 145
*/
146
    GLES30.glDepthFunc(GLES30.GL_LEQUAL);
147
    GLES30.glEnable(GLES30.GL_BLEND);
148
    GLES30.glBlendFunc(GLES30.GL_SRC_ALPHA, GLES30.GL_ONE_MINUS_SRC_ALPHA);
149
    GLES30.glDisable(GLES30.GL_CULL_FACE);
150

  
146 151
    int numRenders = 0;
147 152

  
148 153
    for(int i=0; i<mNumChildren; i++)

Also available in: Unified diff