From f4d7b11e16edc7fb803496801873a03587270e54 Mon Sep 17 00:00:00 2001 From: Ptolemy Date: Wed, 31 Aug 2022 20:59:43 -0700 Subject: SL-17975: PBR: Fix point light popping --- .../newview/app_settings/shaders/class3/deferred/multiPointLightF.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/app_settings/shaders') diff --git a/indra/newview/app_settings/shaders/class3/deferred/multiPointLightF.glsl b/indra/newview/app_settings/shaders/class3/deferred/multiPointLightF.glsl index 71135786c3..679d3dacca 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/multiPointLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/multiPointLightF.glsl @@ -148,7 +148,7 @@ void main() float lightDist; calcHalfVectors(lv, n, v, h, l, nh, nl, nv, vh, lightDist); - float fa = light_col[i].a + 1.0; + float fa = light_col[i].a; float dist_atten = calcLegacyDistanceAttenuation(dist, fa); dist_atten *= noise; -- cgit v1.2.3