diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2023-04-17 11:05:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-17 10:05:43 -0500 |
commit | c46d392984b5f2ba9d92f3eeb6c7b103c6507368 (patch) | |
tree | 7ee47fe15e54b6939d9a664390617fabd0947da5 /indra/newview/app_settings/shaders/class1/deferred | |
parent | 03bd681564f0b0a630f6330ab9c61daa4856e5fe (diff) |
Fix moon texture being incorrectly multiplied by the global light color (#174)
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/moonF.glsl | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/moonF.glsl b/indra/newview/app_settings/shaders/class1/deferred/moonF.glsl index fabc61eb5e..573b522068 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/moonF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/moonF.glsl @@ -30,7 +30,6 @@ out vec4 frag_data[4]; uniform vec4 color; -uniform vec3 moonlight_color; uniform vec3 moon_dir; uniform float moon_brightness; uniform sampler2D diffuseMap; @@ -53,11 +52,7 @@ void main() discard; } - - c.rgb *= moonlight_color.rgb; c.rgb *= moon_brightness; - - c.rgb *= fade; c.a *= fade; frag_data[0] = vec4(0); |