From 37f452096b0c399a6614885057023f8fe8d0bc55 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 15 Aug 2008 11:49:05 -0600 Subject: don't need to use LOD version of texture2D() funcs --- progs/glsl/multitex.frag.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'progs/glsl') 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); } -- cgit v1.2.3