From e5b6ba623aeb28ad9408358c58a3da12b1126396 Mon Sep 17 00:00:00 2001 From: rom Date: Fri, 23 Apr 2021 23:29:43 +0200 Subject: textures --- txtgameengine/builtin_shaders/basic/vertex.glsl | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 txtgameengine/builtin_shaders/basic/vertex.glsl (limited to 'txtgameengine/builtin_shaders/basic/vertex.glsl') diff --git a/txtgameengine/builtin_shaders/basic/vertex.glsl b/txtgameengine/builtin_shaders/basic/vertex.glsl new file mode 100644 index 0000000..92f7c97 --- /dev/null +++ b/txtgameengine/builtin_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); +} -- cgit