multitexf.glsl revision e5f2f66f8c802d64ecf869081036ae13d4e9e19c
1varying vec2 varTex0;
2
3void main() {
4   vec2 t0 = varTex0.xy;
5   lowp vec4 col0 = texture2D(UNI_Tex0, t0).rgba;
6   lowp vec4 col1 = texture2D(UNI_Tex1, t0*4.0).rgba;
7   lowp vec4 col2 = texture2D(UNI_Tex2, t0).rgba;
8   col0.xyz = col0.xyz*col1.xyz*1.5;
9   col0.xyz = mix(col0.xyz, col2.xyz, col2.w);
10   col0.w = 0.5;
11   gl_FragColor = col0;
12}
13
14