summaryrefslogtreecommitdiff
path: root/assets/vertex.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'assets/vertex.glsl')
-rw-r--r--assets/vertex.glsl11
1 files changed, 11 insertions, 0 deletions
diff --git a/assets/vertex.glsl b/assets/vertex.glsl
new file mode 100644
index 0000000..15140cf
--- /dev/null
+++ b/assets/vertex.glsl
@@ -0,0 +1,11 @@
+#version 430 core
+
+layout(location = 0) in vec2 vertexPosition;
+
+out vec2 texCoords;
+
+void main()
+{
+ gl_Position = vec4(vertexPosition, 0.0, 1.0);
+ texCoords = vertexPosition + vec2(0.5);
+}