summaryrefslogtreecommitdiff
path: root/txtgameengine/builtin_res/shaders/basic/vertex.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'txtgameengine/builtin_res/shaders/basic/vertex.glsl')
-rw-r--r--txtgameengine/builtin_res/shaders/basic/vertex.glsl7
1 files changed, 7 insertions, 0 deletions
diff --git a/txtgameengine/builtin_res/shaders/basic/vertex.glsl b/txtgameengine/builtin_res/shaders/basic/vertex.glsl
new file mode 100644
index 0000000..92f7c97
--- /dev/null
+++ b/txtgameengine/builtin_res/shaders/basic/vertex.glsl
@@ -0,0 +1,7 @@
+#version 330 core
+
+layout(location = 0) in vec2 vertexPosition_modelspace;
+
+void main() {
+ gl_Position = vec4(vertexPosition_modelspace, 0, 1);
+}