summaryrefslogtreecommitdiffstats
path: root/progs/glsl/noise.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-02-25 12:46:56 -0700
committerBrian <[email protected]>2007-02-25 12:46:56 -0700
commit21625d729cc7050fc1b0991e1753b0b5f45a6db0 (patch)
treecea34a57ee5af453e87022786930bd1d3674a3c7 /progs/glsl/noise.c
parentfbc4929185ca1dc7d729ec737095ef0895f5b570 (diff)
output texcoord in vertex program
Diffstat (limited to 'progs/glsl/noise.c')
-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 e115da3b123..a26a8059449 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 =