diff options
author | LaG1924 <lag1924@gmail.com> | 2021-12-11 16:56:17 +0100 |
---|---|---|
committer | LaG1924 <lag1924@gmail.com> | 2021-12-11 16:56:17 +0100 |
commit | 5721d60db866373dc5718a8af8e63e5377ffd927 (patch) | |
tree | 37959ed252108dcefee9f551950fc178e9433369 /cwd/assets/altcraft/shaders/frag/sky.fs | |
parent | Optimized GBuffer size (diff) | |
download | AltCraft-5721d60db866373dc5718a8af8e63e5377ffd927.tar AltCraft-5721d60db866373dc5718a8af8e63e5377ffd927.tar.gz AltCraft-5721d60db866373dc5718a8af8e63e5377ffd927.tar.bz2 AltCraft-5721d60db866373dc5718a8af8e63e5377ffd927.tar.lz AltCraft-5721d60db866373dc5718a8af8e63e5377ffd927.tar.xz AltCraft-5721d60db866373dc5718a8af8e63e5377ffd927.tar.zst AltCraft-5721d60db866373dc5718a8af8e63e5377ffd927.zip |
Diffstat (limited to 'cwd/assets/altcraft/shaders/frag/sky.fs')
-rw-r--r-- | cwd/assets/altcraft/shaders/frag/sky.fs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cwd/assets/altcraft/shaders/frag/sky.fs b/cwd/assets/altcraft/shaders/frag/sky.fs index f3830b8..731246a 100644 --- a/cwd/assets/altcraft/shaders/frag/sky.fs +++ b/cwd/assets/altcraft/shaders/frag/sky.fs @@ -4,8 +4,7 @@ in vec3 facePos; layout (location = 0) out vec4 color; layout (location = 1) out vec4 normal; -layout (location = 2) out vec4 addColor; -layout (location = 3) out vec4 light; +layout (location = 2) out vec4 light; layout (std140) uniform Globals { mat4 projView; @@ -65,7 +64,6 @@ void main() { color += vec4(Sun().rgb, 1.0f); color += vec4(Moon().rgb, 1.0f); normal = vec4(0.0f, 0.0f, 0.0f, 1.0f); - addColor = vec4(1.0f); light = vec4(1.0f, 1.0f, 0.0f, 1.0f); gl_FragDepth = 1.0f; } |