share/hedgewars/Data/Shaders/default.vs
changeset 7138 f8248bcba8f1
parent 7129 0ce4f478ea6c
child 7188 580cd247511e
--- a/share/hedgewars/Data/Shaders/default.vs	Mon May 28 10:34:33 2012 +0200
+++ b/share/hedgewars/Data/Shaders/default.vs	Mon May 28 10:38:27 2012 +0200
@@ -1,10 +1,11 @@
 // !!!just testing!!! 
 // This is not GLSL 1.3+ compatible, as its using the compatibility profile!
+uniform mat4 mvp;
 varying vec4 tint;
 
 void main()
 {
-    gl_Position = ftransform();
+    gl_Position = mvp * gl_Vertex;
     gl_TexCoord[0] = gl_MultiTexCoord0;
     tint = gl_Color;
 }