summaryrefslogtreecommitdiff
path: root/shaders/vert.vert
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-10-26 23:15:46 +0100
committerPhil Jones <philj56@gmail.com>2021-10-26 23:15:46 +0100
commit42679f7e53364e8de8de665ac7ba9b7e2dd1970b (patch)
tree14e145ea833097aba91f516f4cd124e49f5a2a14 /shaders/vert.vert
parentc1e7ea47b25cdf7bf316ce522f9aa438b0b657c7 (diff)
Add PNG background.
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);
+}