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/res/raw/test_fragment_shader.glsl
19 19

  
20 20
precision lowp float;
21 21

  
22
out vec4 fragColor;
23

  
22 24
//////////////////////////////////////////////////////////////////////////////////////////////
23 25

  
24 26
void main()
25 27
  {
26
  gl_FragColor = vec4(1.0,0.0,0.0,0.2);
28
  fragColor = vec4(1.0,0.0,0.0,0.2);
27 29
  }

Also available in: Unified diff