summaryrefslogtreecommitdiffstats
path: root/progs/glsl/multitex.vert
diff options
context:
space:
mode:
Diffstat (limited to 'progs/glsl/multitex.vert')
-rw-r--r--progs/glsl/multitex.vert10
1 files changed, 10 insertions, 0 deletions
diff --git a/progs/glsl/multitex.vert b/progs/glsl/multitex.vert
new file mode 100644
index 00000000000..5518ca1ddd8
--- /dev/null
+++ b/progs/glsl/multitex.vert
@@ -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();
+}