summaryrefslogtreecommitdiff
path: root/shaders/vert.vert
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/vert.vert')
-rw-r--r--shaders/vert.vert22
1 files changed, 22 insertions, 0 deletions
diff --git a/shaders/vert.vert b/shaders/vert.vert
new file mode 100644
index 0000000..9d62b85
--- /dev/null
+++ b/shaders/vert.vert
@@ -0,0 +1,22 @@
+#version 300 es
+
+/*
+ * Copyright (C) 2017-2020 Philip Jones
+ *
+ * Licensed under the MIT License.
+ * See either the LICENSE file, or:
+ *
+ * https://opensource.org/licenses/MIT
+ *
+ */
+
+in vec2 position;
+in vec2 texcoord;
+
+out vec2 Texcoord;
+
+void main()
+{
+ Texcoord = texcoord;
+ gl_Position = vec4(position, 0.0, 1.0);
+}