diff options
Diffstat (limited to 'progs')
-rw-r--r-- | progs/glsl/multitex.frag.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/glsl/multitex.frag.txt b/progs/glsl/multitex.frag.txt index 86045306af..a2633ceba7 100644 --- a/progs/glsl/multitex.frag.txt +++ b/progs/glsl/multitex.frag.txt @@ -9,7 +9,7 @@ uniform sampler2D tex2; void main() { - vec4 t1 = texture2D(tex1, gl_TexCoord[0].xy, 0.0); - vec4 t2 = texture2D(tex2, gl_TexCoord[1].xy, 0.0); + vec4 t1 = texture2D(tex1, gl_TexCoord[0].xy); + vec4 t2 = texture2D(tex2, gl_TexCoord[1].xy); gl_FragColor = mix(t1, t2, t2.w); } |