output texcoord in vertex program
authorBrian <brian@nostromo.localnet.net>
Sun, 25 Feb 2007 19:46:56 +0000 (12:46 -0700)
committerBrian <brian@nostromo.localnet.net>
Sun, 25 Feb 2007 19:46:56 +0000 (12:46 -0700)
progs/glsl/noise.c

index e115da3b1230bb937ad978783dfd7429f2f76816..a26a8059449506b20d271ba7a400f49efec41677 100644 (file)
@@ -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 =