diff options
author | LaG1924 <lag1924@gmail.com> | 2021-12-18 06:59:06 +0100 |
---|---|---|
committer | LaG1924 <lag1924@gmail.com> | 2021-12-18 06:59:06 +0100 |
commit | 3dc7e8aba4a07cc3c0d897b82af5a5951bde9991 (patch) | |
tree | 7361aa7f00026b2cd6749e73bbe2bfc4b10ebd69 /cwd/assets/altcraft/shaders/frag/light.fs | |
parent | Fixed SSAO low occlusion factor (diff) | |
download | AltCraft-3dc7e8aba4a07cc3c0d897b82af5a5951bde9991.tar AltCraft-3dc7e8aba4a07cc3c0d897b82af5a5951bde9991.tar.gz AltCraft-3dc7e8aba4a07cc3c0d897b82af5a5951bde9991.tar.bz2 AltCraft-3dc7e8aba4a07cc3c0d897b82af5a5951bde9991.tar.lz AltCraft-3dc7e8aba4a07cc3c0d897b82af5a5951bde9991.tar.xz AltCraft-3dc7e8aba4a07cc3c0d897b82af5a5951bde9991.tar.zst AltCraft-3dc7e8aba4a07cc3c0d897b82af5a5951bde9991.zip |
Diffstat (limited to '')
-rw-r--r-- | cwd/assets/altcraft/shaders/frag/light.fs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cwd/assets/altcraft/shaders/frag/light.fs b/cwd/assets/altcraft/shaders/frag/light.fs index aa9e04e..a0cda02 100644 --- a/cwd/assets/altcraft/shaders/frag/light.fs +++ b/cwd/assets/altcraft/shaders/frag/light.fs @@ -71,7 +71,7 @@ void main() { fragColor = vec4(0.5f); break; case 5: - fragColor = l; + fragColor = vec4(l.r, l.g, 1.0f - l.b, 1.0f); break; case 6: fragColor = vec4(vec3(d), 1.0f); |