diff options
| author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-15 11:49:05 -0600 |
|---|---|---|
| committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-15 17:02:09 -0600 |
| commit | 37f452096b0c399a6614885057023f8fe8d0bc55 (patch) | |
| tree | 782b959546558af445a792884b848705985c4ac3 | |
| parent | 2e79b491fc45d6f608c042e007fa477d9ab44586 (diff) | |
don't need to use LOD version of texture2D() funcs
| -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); } |
