summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-08-31 20:59:43 -0700
committerPtolemy <ptolemy@lindenlab.com>2022-08-31 20:59:43 -0700
commitf4d7b11e16edc7fb803496801873a03587270e54 (patch)
tree3f6c5b478b6f3206df81276189221317bb5fb43c /indra/newview/app_settings/shaders
parenteff9f08bd9128bfa64ce1b86ce0d74a76d8cc548 (diff)
SL-17975: PBR: Fix point light popping
Diffstat (limited to 'indra/newview/app_settings/shaders')
-rw-r--r--indra/newview/app_settings/shaders/class3/deferred/multiPointLightF.glsl2
1 files changed, 1 insertions, 1 deletions
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;