summaryrefslogtreecommitdiff
path: root/txtgameengine/builtin_res/shaders/basic/vertex.glsl
diff options
context:
space:
mode:
authorrom <romangraef@gmail.com>2021-04-24 01:56:51 +0200
committerrom <romangraef@gmail.com>2021-04-24 01:56:51 +0200
commit156114359f6bb26a3cca198ac7a31bddc44381f7 (patch)
treea830599ffe4bc502d766861da8787c063b7a1a47 /txtgameengine/builtin_res/shaders/basic/vertex.glsl
parent79a6c6b13f42a6a2cd4a1b0dd4a93e25756e1b87 (diff)
downloadtxtgameengine-156114359f6bb26a3cca198ac7a31bddc44381f7.tar.gz
txtgameengine-156114359f6bb26a3cca198ac7a31bddc44381f7.tar.bz2
txtgameengine-156114359f6bb26a3cca198ac7a31bddc44381f7.zip
fonts
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);
+}