summaryrefslogtreecommitdiffstats
path: root/cwd/assets/altcraft/shaders/vert/light.vs
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-11-21 09:56:28 +0100
committerLaG1924 <lag1924@gmail.com>2021-11-21 10:26:47 +0100
commitaafc423a7298b0fc595c0209480474dc50c277f0 (patch)
tree06549c939c99cfd8a6f3390362eea2a5c5b88b9e /cwd/assets/altcraft/shaders/vert/light.vs
parentFixed some broken graphics features (diff)
downloadAltCraft-aafc423a7298b0fc595c0209480474dc50c277f0.tar
AltCraft-aafc423a7298b0fc595c0209480474dc50c277f0.tar.gz
AltCraft-aafc423a7298b0fc595c0209480474dc50c277f0.tar.bz2
AltCraft-aafc423a7298b0fc595c0209480474dc50c277f0.tar.lz
AltCraft-aafc423a7298b0fc595c0209480474dc50c277f0.tar.xz
AltCraft-aafc423a7298b0fc595c0209480474dc50c277f0.tar.zst
AltCraft-aafc423a7298b0fc595c0209480474dc50c277f0.zip
Diffstat (limited to 'cwd/assets/altcraft/shaders/vert/light.vs')
-rw-r--r--cwd/assets/altcraft/shaders/vert/light.vs11
1 files changed, 11 insertions, 0 deletions
diff --git a/cwd/assets/altcraft/shaders/vert/light.vs b/cwd/assets/altcraft/shaders/vert/light.vs
new file mode 100644
index 0000000..f837ebe
--- /dev/null
+++ b/cwd/assets/altcraft/shaders/vert/light.vs
@@ -0,0 +1,11 @@
+#version 330 core
+
+in vec2 pos;
+in vec2 uvPos;
+
+out vec2 uv;
+
+void main() {
+ gl_Position = vec4(pos.x, pos.y, 0.0, 1.0);
+ uv = uvPos;
+}