From 0148fe0915c2c6f0357609c9b3e1c99d713fcd2b Mon Sep 17 00:00:00 2001 From: LaG1924 Date: Sun, 21 Nov 2021 21:26:31 +0500 Subject: Added PostProcess class --- cwd/assets/altcraft/shaders/vert/pp.vs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cwd/assets/altcraft/shaders/vert/pp.vs (limited to 'cwd/assets') 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; +} -- cgit v1.2.3