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