summaryrefslogtreecommitdiffstats
path: root/cwd/assets/altcraft/shaders/frag/copy.fs
diff options
context:
space:
mode:
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);
+}