summaryrefslogtreecommitdiff
path: root/txtgameengine/base_shaders/vertex.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'txtgameengine/base_shaders/vertex.glsl')
-rw-r--r--txtgameengine/base_shaders/vertex.glsl8
1 files changed, 8 insertions, 0 deletions
diff --git a/txtgameengine/base_shaders/vertex.glsl b/txtgameengine/base_shaders/vertex.glsl
new file mode 100644
index 0000000..1e02417
--- /dev/null
+++ b/txtgameengine/base_shaders/vertex.glsl
@@ -0,0 +1,8 @@
+#version 330 core
+
+layout(location = 0) in vec3 vertexPosition_modelspace;
+
+void main() {
+ gl_Position.xyz = vertexPosition_modelspace;
+ gl_Position.w = 1.0;
+}