summaryrefslogtreecommitdiffstats
path: root/progs/glsl/multitex.vert.txt
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-05-20 11:01:17 -0600
committerBrian Paul <[email protected]>2008-05-20 11:01:17 -0600
commit4978953c7962f33fa1eddbe75e5ef3736fbe7f06 (patch)
tree449e1e1f2f166c470a68c706196cef483c811def /progs/glsl/multitex.vert.txt
parentb6fb0940c226373ac235a5d327d3fcfd742bc6b9 (diff)
new multi-texture GLSL test
Diffstat (limited to 'progs/glsl/multitex.vert.txt')
-rw-r--r--progs/glsl/multitex.vert.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/progs/glsl/multitex.vert.txt b/progs/glsl/multitex.vert.txt
new file mode 100644
index 00000000000..5518ca1ddd8
--- /dev/null
+++ b/progs/glsl/multitex.vert.txt
@@ -0,0 +1,10 @@
+// Multi-texture vertex shader
+// Brian Paul
+
+
+void main()
+{
+ gl_TexCoord[0] = gl_MultiTexCoord0;
+ gl_TexCoord[1] = gl_MultiTexCoord1;
+ gl_Position = ftransform();
+}