summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian@nostromo.localnet.net>2007-02-25 12:46:56 -0700
committerBrian <brian@nostromo.localnet.net>2007-02-25 12:46:56 -0700
commit21625d729cc7050fc1b0991e1753b0b5f45a6db0 (patch)
treecea34a57ee5af453e87022786930bd1d3674a3c7
parentfbc4929185ca1dc7d729ec737095ef0895f5b570 (diff)
output texcoord in vertex program
-rw-r--r--progs/glsl/noise.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/glsl/noise.c b/progs/glsl/noise.c
index e115da3b12..a26a805944 100644
--- a/progs/glsl/noise.c
+++ b/progs/glsl/noise.c
@@ -17,6 +17,7 @@
static const char *VertShaderText =
"void main() {\n"
" gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;\n"
+ " gl_TexCoord[0] = gl_MultiTexCoord0;\n"
"}\n";
static const char *FragShaderText =