share/hedgewars/Data/Shaders/water.vs
changeset 7188 580cd247511e
child 11317 62287d4044e7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Shaders/water.vs	Tue Jun 05 22:37:36 2012 +0200
@@ -0,0 +1,14 @@
+#version 130
+
+in vec2 vertex;
+in vec4 color;
+out vec4 vcolor;
+
+uniform mat4 mvp;
+
+void main()
+{
+    vec4 p = mvp * vec4(vertex, 0.0f, 1.0f);
+    gl_Position = p;
+    vcolor = color;
+}