summaryrefslogtreecommitdiffstats
path: root/cwd/assets/altcraft/shaders/frag/rmltex.fs
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2021-06-22 02:47:45 +0200
committerGitHub <noreply@github.com>2021-06-22 02:47:45 +0200
commite93df8332d86b67dff89d24788525a027b8d0c4c (patch)
tree3c2e085706f3824aa34d2dce5747c9c86a79723a /cwd/assets/altcraft/shaders/frag/rmltex.fs
parentMerge pull request #56 from LaG1924/ftr/upgrade-build-system (diff)
parentMinor changes to Ui scripts (diff)
downloadAltCraft-e93df8332d86b67dff89d24788525a027b8d0c4c.tar
AltCraft-e93df8332d86b67dff89d24788525a027b8d0c4c.tar.gz
AltCraft-e93df8332d86b67dff89d24788525a027b8d0c4c.tar.bz2
AltCraft-e93df8332d86b67dff89d24788525a027b8d0c4c.tar.lz
AltCraft-e93df8332d86b67dff89d24788525a027b8d0c4c.tar.xz
AltCraft-e93df8332d86b67dff89d24788525a027b8d0c4c.tar.zst
AltCraft-e93df8332d86b67dff89d24788525a027b8d0c4c.zip
Diffstat (limited to 'cwd/assets/altcraft/shaders/frag/rmltex.fs')
-rw-r--r--cwd/assets/altcraft/shaders/frag/rmltex.fs14
1 files changed, 14 insertions, 0 deletions
diff --git a/cwd/assets/altcraft/shaders/frag/rmltex.fs b/cwd/assets/altcraft/shaders/frag/rmltex.fs
new file mode 100644
index 0000000..d885b3b
--- /dev/null
+++ b/cwd/assets/altcraft/shaders/frag/rmltex.fs
@@ -0,0 +1,14 @@
+#version 330 core
+
+uniform sampler2D fontTexture;
+
+in VS_OUT {
+ vec4 color;
+ vec2 tex_coord;
+} fs_in;
+
+out vec4 fragColor;
+
+void main() {
+ fragColor = fs_in.color * texture(fontTexture, fs_in.tex_coord);
+}