From c905ede556c892d39fd69d3945026ba244567ce9 Mon Sep 17 00:00:00 2001 From: LaG1924 Date: Sat, 27 Nov 2021 21:08:58 +0500 Subject: Changed shaders to use SPB --- cwd/assets/altcraft/shaders/frag/fbo.fs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cwd/assets/altcraft/shaders/frag/fbo.fs') diff --git a/cwd/assets/altcraft/shaders/frag/fbo.fs b/cwd/assets/altcraft/shaders/frag/fbo.fs index df624b3..a5a7a2b 100644 --- a/cwd/assets/altcraft/shaders/frag/fbo.fs +++ b/cwd/assets/altcraft/shaders/frag/fbo.fs @@ -1,11 +1,11 @@ #version 330 core -out vec4 FragColor; -in vec2 TexCoords; +in vec2 uv; + +out vec4 fragColor; uniform sampler2D inputTexture; -void main() -{ - FragColor = texture(inputTexture, TexCoords); -} \ No newline at end of file +void main() { + fragColor = texture(inputTexture, uv); +} -- cgit v1.2.3 From a12779bc153425407b131bce541c0bb97cccca39 Mon Sep 17 00:00:00 2001 From: LaG1924 Date: Wed, 8 Dec 2021 20:33:09 +0500 Subject: Removed unnecessary framebuffers copying --- cwd/assets/altcraft/shaders/frag/fbo.fs | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 cwd/assets/altcraft/shaders/frag/fbo.fs (limited to 'cwd/assets/altcraft/shaders/frag/fbo.fs') diff --git a/cwd/assets/altcraft/shaders/frag/fbo.fs b/cwd/assets/altcraft/shaders/frag/fbo.fs deleted file mode 100644 index a5a7a2b..0000000 --- a/cwd/assets/altcraft/shaders/frag/fbo.fs +++ /dev/null @@ -1,11 +0,0 @@ -#version 330 core - -in vec2 uv; - -out vec4 fragColor; - -uniform sampler2D inputTexture; - -void main() { - fragColor = texture(inputTexture, uv); -} -- cgit v1.2.3