diff options
author | Graham Linden <graham@lindenlab.com> | 2019-03-28 13:23:59 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-03-28 13:23:59 -0700 |
commit | 03426a7ddbf1b3bb8349241d3b52962026f7504a (patch) | |
tree | c5b91aab3a61a95e2c667dbe9cda18f658b678d9 /indra/newview/app_settings/shaders/class1/deferred/multiSpotLightF.glsl | |
parent | 2bbb6c7e027ae12d18bef5db2cdc3e7ba41e8630 (diff) |
SL-10829, SL-10830
Replace old spot prio calc.
Replace fudge factors on light radius and falloff for deferred lights.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/multiSpotLightF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/multiSpotLightF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/multiSpotLightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/multiSpotLightF.glsl index 3364d5b5fc..57916eb3e5 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/multiSpotLightF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/multiSpotLightF.glsl @@ -158,7 +158,7 @@ void main() proj_tc.xyz /= proj_tc.w; - float fa = (falloff * 0.5)+1.0; + float fa = falloff+1.0; float dist_atten = min(1.0-(dist-1.0*(1.0-fa))/fa, 1.0); dist_atten *= dist_atten; dist_atten *= 2.0; |