r500/verbatim/texture_dual.fs.glsl
2025-10-23 13:25:25 -05:00

4 lines
150 B
GLSL

vec4 c1 = texture2D(texture[0], gl_TexCoord[0].xy);
vec4 c2 = texture2D(texture[1], gl_TexCoord[0].xy);
gl_FragColor = mix(c1, c2, gl_TexCoord[0].x);