SL-17975: PBR: Fix point light popping

meow-7.2.2
Ptolemy 2022-08-31 20:59:43 -07:00
parent eff9f08bd9
commit f4d7b11e16
1 changed files with 1 additions and 1 deletions

View File

@ -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;