From c06bd45df96c117172b83e7f8b2a8e03c5fd88e5 Mon Sep 17 00:00:00 2001 From: Graham Linden Date: Fri, 19 Oct 2018 22:58:01 +0100 Subject: SL-9928 De-hackify WL additive to get better match between ALM and non-ALM rendering without bringing back SL-1491 lens flare bug. --- indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/app_settings/shaders/class2/deferred') diff --git a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl index c7950a2a31..af199fd78c 100644 --- a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl @@ -186,7 +186,7 @@ void main() if (norm.w < 0.5) { - vec3 add = additive * spec.a; + vec3 add = additive; col = mix(atmosFragLighting(col, add, atten), fullbrightFragAtmosTransport(col, atten, add), diffuse.a); col = mix(scaleFragSoftClip(col), fullbrightScaleSoftClipFrag(col, atten), diffuse.a); } -- cgit v1.2.3