1precision mediump float;
2
3varying vec2 varTex0;
4varying vec2 varTex1;
5varying vec2 varTex2;
6varying vec2 varTex3;
7varying vec2 varTex4;
8
9void 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