diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2021-12-25 07:50:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-25 07:50:14 +0100 |
commit | 7ebc8e1bd33b6658b50153a26945814a87fba5f4 (patch) | |
tree | 51d377a4560a7e12b3b404b0b043d9f64981caf3 /cwd/assets/altcraft/shaders/frag/copy.fs | |
parent | Merge pull request #77 from LaG1924/ftr/graphics-abstraction-layer (diff) | |
parent | Added smooth lighting settings parameter (diff) | |
download | AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.gz AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.bz2 AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.lz AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.xz AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.zst AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.zip |
Diffstat (limited to 'cwd/assets/altcraft/shaders/frag/copy.fs')
-rw-r--r-- | cwd/assets/altcraft/shaders/frag/copy.fs | 11 |
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); +} |