don't need to use LOD version of texture2D() funcs
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Aug 2008 17:49:05 +0000 (11:49 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Aug 2008 23:02:09 +0000 (17:02 -0600)
progs/glsl/multitex.frag.txt

index 86045306af2d2f12576f31efce3d33a71f7b9292..a2633ceba75e56b41f3890b818135c8b8f38636f 100644 (file)
@@ -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);
 }