summaryrefslogtreecommitdiffstats
path: root/cwd/assets/altcraft/shaders/frag/copy.fs
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-12-08 16:33:09 +0100
committerLaG1924 <lag1924@gmail.com>2021-12-08 16:33:09 +0100
commita12779bc153425407b131bce541c0bb97cccca39 (patch)
tree91ed3bb9b00c274f5be91cf920317e760fe99e7a /cwd/assets/altcraft/shaders/frag/copy.fs
parentAdded more SSAO settings (diff)
downloadAltCraft-a12779bc153425407b131bce541c0bb97cccca39.tar
AltCraft-a12779bc153425407b131bce541c0bb97cccca39.tar.gz
AltCraft-a12779bc153425407b131bce541c0bb97cccca39.tar.bz2
AltCraft-a12779bc153425407b131bce541c0bb97cccca39.tar.lz
AltCraft-a12779bc153425407b131bce541c0bb97cccca39.tar.xz
AltCraft-a12779bc153425407b131bce541c0bb97cccca39.tar.zst
AltCraft-a12779bc153425407b131bce541c0bb97cccca39.zip
Diffstat (limited to 'cwd/assets/altcraft/shaders/frag/copy.fs')
-rw-r--r--cwd/assets/altcraft/shaders/frag/copy.fs11
1 files changed, 11 insertions, 0 deletions
diff --git a/cwd/assets/altcraft/shaders/frag/copy.fs b/cwd/assets/altcraft/shaders/frag/copy.fs
new file mode 100644
index 0000000..a5a7a2b
--- /dev/null
+++ b/cwd/assets/altcraft/shaders/frag/copy.fs
@@ -0,0 +1,11 @@
+#version 330 core
+
+in vec2 uv;
+
+out vec4 fragColor;
+
+uniform sampler2D inputTexture;
+
+void main() {
+ fragColor = texture(inputTexture, uv);
+}