10 gl_Position = gl_Vertex;
11 tc1 = (gl_Vertex.xy + 1.0) / 2.0;
18 uniform sampler2D tex1;
19 uniform sampler2D tex2;
21 vec4 blend_textures(sampler2D t1, vec2 tc1, sampler2D t2, vec2 tc2, float mixFactor)
23 return mix(texture2D(t1, tc1), texture2D(t2, tc2), mixFactor);
28 gl_FragColor = blend_textures(tex1, tc1, tex2, tc2, 0.5);
37 relative probe rgb (0.25, 0.25) (1.0, 0.0, 0.0)
38 relative probe rgb (0.75, 0.25) (0.0, 0.5, 0.5)
39 relative probe rgb (0.25, 0.75) (0.0, 0.5, 0.5)
40 relative probe rgb (0.75, 0.75) (1.0, 1.0, 1.0)