summaryrefslogtreecommitdiff
path: root/wimmel.vert
diff options
context:
space:
mode:
Diffstat (limited to 'wimmel.vert')
-rw-r--r--wimmel.vert10
1 files changed, 10 insertions, 0 deletions
diff --git a/wimmel.vert b/wimmel.vert
new file mode 100644
index 0000000..fe26ecc
--- /dev/null
+++ b/wimmel.vert
@@ -0,0 +1,10 @@
+uniform mat4 proj;
+attribute vec4 position;
+attribute vec2 texcoord;
+varying vec2 v_texcoord;
+
+void main()
+{
+ gl_Position = proj * position;
+ v_texcoord = texcoord;
+}