diff options
author | Graham Linden <graham@lindenlab.com> | 2019-04-23 10:37:24 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-04-23 10:37:24 -0700 |
commit | 6ee2fadaa8fd782eccff29777dc93aa508c5bf74 (patch) | |
tree | e7b235b5c18c89ca4d83118957765f0af3728d41 /indra/newview/app_settings/shaders/class2/windlight | |
parent | 9723bd8be2b710fa089f3404056c01f4dc55e6ac (diff) |
SL-1491
Modify handling of additive to make extreme range of glow focus/size safe from lens flare artifacts.
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/windlight')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/windlight/atmosphericsF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/windlight/atmosphericsF.glsl b/indra/newview/app_settings/shaders/class2/windlight/atmosphericsF.glsl index a93253c981..246dd1a56d 100644 --- a/indra/newview/app_settings/shaders/class2/windlight/atmosphericsF.glsl +++ b/indra/newview/app_settings/shaders/class2/windlight/atmosphericsF.glsl @@ -54,7 +54,7 @@ vec3 atmosFragLighting(vec3 light, vec3 additive, vec3 atten) return light; } light *= atten.r; - light += additive; + light += additive * exp(-32.0f); return light * 2.0; } |