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/Distorted.java
21 21

  
22 22
import android.content.Context;
23 23
import android.content.res.Resources;
24
import android.opengl.GLES30;
25 24
import org.distorted.library.program.*;
26 25

  
27 26
///////////////////////////////////////////////////////////////////////////////////////////////////
......
30 29
 */
31 30
public class Distorted 
32 31
  {
32
  static final String glslVersion="#version 300 es\n";
33 33
  /**
34 34
   * When creating an instance of a DistortedTexture from another instance, clone the Bitmap that's
35 35
   * backing up our DistortedTexture.

Also available in: Unified diff