summaryrefslogtreecommitdiff
path: root/shaders/gl_vertex.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/gl_vertex.glsl')
-rw-r--r--shaders/gl_vertex.glsl9
1 files changed, 9 insertions, 0 deletions
diff --git a/shaders/gl_vertex.glsl b/shaders/gl_vertex.glsl
new file mode 100644
index 0000000..707df72
--- /dev/null
+++ b/shaders/gl_vertex.glsl
@@ -0,0 +1,9 @@
+in vec2 position;
+in vec2 texture_coord;
+out vec2 frag_texture_coord;
+
+void main() {
+ gl_Position = vec4(position, 0.0, 1.0);
+ frag_texture_coord = texture_coord;
+}
+