Home | History | Annotate | Download | only in raw
      1 precision mediump float;
      2 
      3 varying vec2 varTex0;
      4 varying vec2 varTex1;
      5 varying vec2 varTex2;
      6 varying vec2 varTex3;
      7 varying vec2 varTex4;
      8 
      9 void main() {
     10     lowp vec4 tex =  texture2D(UNI_Tex0, varTex0);
     11     lowp vec4 col = mix(UNI_clearColor, tex.rgba, tex.a);
     12 
     13     tex = texture2D(UNI_Tex1, varTex1);
     14     col = mix(col, tex.rgba, tex.a);
     15 
     16     tex = texture2D(UNI_Tex2, varTex2);
     17     col = mix(col, tex.rgba, tex.a);
     18 
     19     tex = texture2D(UNI_Tex3, varTex3);
     20     col = mix(col, tex.rgba, tex.a);
     21 
     22     tex = texture2D(UNI_Tex4, varTex4);
     23     col = mix(col, tex.rgba, tex.a);
     24     gl_FragColor = col;
     25 }
     26 
     27