From c46d392984b5f2ba9d92f3eeb6c7b103c6507368 Mon Sep 17 00:00:00 2001 From: Rye Mutt Date: Mon, 17 Apr 2023 11:05:43 -0400 Subject: Fix moon texture being incorrectly multiplied by the global light color (#174) --- indra/newview/app_settings/shaders/class1/deferred/moonF.glsl | 5 ----- 1 file changed, 5 deletions(-) (limited to 'indra') 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); -- cgit v1.2.3