diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2020-02-07 16:17:15 -0800 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2020-02-07 16:17:15 -0800 |
commit | 4be51fa5598c2ec2aa8dca2e0f00ef79a0732e1e (patch) | |
tree | bf3e4e2b7a5f329dc02f87f597023251f1595dca /indra/newview/app_settings/shaders/class2/deferred | |
parent | 90e3974b165b8baa2e0b76fe7469910852d77624 (diff) |
DRTVWR-440: SL-12574: Tweak environment cube map to better match Windlight
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl index 0223cef531..f49fad5517 100644 --- a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl @@ -155,9 +155,9 @@ vec3 post_diffuse = color.rgb; if (nh > 0.0) { float scontrib = fres*texture2D(lightFunc, vec2(nh, spec.a)).r*gt/(nh*da); - vec3 sp = sun_contrib*scontrib / 16.0; + vec3 sp = sun_contrib*scontrib / 6.0; sp = clamp(sp, vec3(0), vec3(1)); - bloom += dot(sp, sp) / 6.0; + bloom += dot(sp, sp) / 4.0; #if !defined(SUNLIGHT_KILL) color += sp * spec.rgb; #endif |