summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/lightingShader.vs
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/shaders/lightingShader.vs')
-rw-r--r--gfx/gl/shaders/lightingShader.vs13
1 files changed, 13 insertions, 0 deletions
diff --git a/gfx/gl/shaders/lightingShader.vs b/gfx/gl/shaders/lightingShader.vs
new file mode 100644
index 0000000..933a46a
--- /dev/null
+++ b/gfx/gl/shaders/lightingShader.vs
@@ -0,0 +1,13 @@
+#version 330 core
+
+in vec3 aPos;
+in vec2 aTexCoords;
+
+out vec2 TexCoords;
+
+void
+main()
+{
+ TexCoords = aTexCoords;
+ gl_Position = vec4(aPos, 1.0);
+}