diff options
author | Graham Linden <graham@lindenlab.com> | 2019-04-15 11:52:24 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-04-15 11:52:24 -0700 |
commit | 508ca2d458b6ae23909c88615498b629da0ca76e (patch) | |
tree | 74635bcbed6bdc4808a66c8d5ba60dd9f848b7ff /indra/newview/app_settings/shaders/class1 | |
parent | 37a7c96f1724332ccddde36bf5095b99af95fe8f (diff) |
SL-10959
Scale down of bloom was off by a factor of 3 or so.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl index 476a1216d3..71fbe5df57 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl @@ -152,7 +152,7 @@ vec3 post_diffuse = col.rgb; float scol = fres*texture2D(lightFunc, vec2(nh, spec.a)).r*gt/(nh*da); vec3 speccol = sun_contrib*scol*spec.rgb; speccol = clamp(speccol, vec3(0), vec3(1)); - bloom = dot(speccol, speccol) / 2; + bloom = dot(speccol, speccol) / 6; col += speccol; } } |