From 156114359f6bb26a3cca198ac7a31bddc44381f7 Mon Sep 17 00:00:00 2001 From: rom Date: Sat, 24 Apr 2021 01:56:51 +0200 Subject: fonts --- txtgameengine/builtin_res/shaders/texture/vertex.glsl | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 txtgameengine/builtin_res/shaders/texture/vertex.glsl (limited to 'txtgameengine/builtin_res/shaders/texture/vertex.glsl') diff --git a/txtgameengine/builtin_res/shaders/texture/vertex.glsl b/txtgameengine/builtin_res/shaders/texture/vertex.glsl new file mode 100644 index 0000000..dd93afb --- /dev/null +++ b/txtgameengine/builtin_res/shaders/texture/vertex.glsl @@ -0,0 +1,12 @@ +#version 330 core + +layout(location=0) in vec3 vertexPosition_modelspace; +layout(location=1) in vec2 vertexUV; + +out vec2 UV; + +void main() { + gl_Position = vec4(vertexPosition_modelspace, 1); + UV = vertexUV; +} + -- cgit