summaryrefslogtreecommitdiffstats
path: root/cwd
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-11-21 17:26:31 +0100
committerLaG1924 <lag1924@gmail.com>2021-11-21 17:45:48 +0100
commit0148fe0915c2c6f0357609c9b3e1c99d713fcd2b (patch)
tree8d1d50e046b4fd1ddfc688934e795fb0774acb0d /cwd
parentAdded gbuffer visualization (diff)
downloadAltCraft-0148fe0915c2c6f0357609c9b3e1c99d713fcd2b.tar
AltCraft-0148fe0915c2c6f0357609c9b3e1c99d713fcd2b.tar.gz
AltCraft-0148fe0915c2c6f0357609c9b3e1c99d713fcd2b.tar.bz2
AltCraft-0148fe0915c2c6f0357609c9b3e1c99d713fcd2b.tar.lz
AltCraft-0148fe0915c2c6f0357609c9b3e1c99d713fcd2b.tar.xz
AltCraft-0148fe0915c2c6f0357609c9b3e1c99d713fcd2b.tar.zst
AltCraft-0148fe0915c2c6f0357609c9b3e1c99d713fcd2b.zip
Diffstat (limited to 'cwd')
-rw-r--r--cwd/assets/altcraft/shaders/vert/pp.vs11
1 files changed, 11 insertions, 0 deletions
diff --git a/cwd/assets/altcraft/shaders/vert/pp.vs b/cwd/assets/altcraft/shaders/vert/pp.vs
new file mode 100644
index 0000000..f837ebe
--- /dev/null
+++ b/cwd/assets/altcraft/shaders/vert/pp.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;
+}