diff options
author | Rider Linden <rider@lindenlab.com> | 2019-04-18 18:35:14 +0000 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2019-04-18 18:35:14 +0000 |
commit | 79dc5424d3ef3bdec62bdb7b937b4b69c7a4f1b3 (patch) | |
tree | 0a0d0aebd14a021ed8bafdac21cb6344436f2869 | |
parent | 722c8ec3e135f9488c9fd97ac277ee5feb4e42fd (diff) | |
parent | 311adf5469dde93da7813d6d89feb77d44c01804 (diff) |
Merged in graham_linden/viewer-eep-rc-fixes (pull request #358)
SL-10967
-rw-r--r-- | indra/newview/app_settings/shaders/class2/windlight/transportF.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class2/windlight/transportF.glsl b/indra/newview/app_settings/shaders/class2/windlight/transportF.glsl index df731662e8..918ebcb0e3 100644 --- a/indra/newview/app_settings/shaders/class2/windlight/transportF.glsl +++ b/indra/newview/app_settings/shaders/class2/windlight/transportF.glsl @@ -50,7 +50,7 @@ vec3 fullbrightAtmosTransportFrag(vec3 light, vec3 additive, vec3 atten) return light; } float brightness = dot(light.rgb, vec3(0.33333)); - return mix(atmosTransportFrag(light.rgb, additive, atten), light.rgb + additive.rgb, brightness * brightness); + return mix(atmosTransportFrag(light.rgb, additive, atten), light.rgb + additive.rgb, brightness * brightness * 0.1); } vec3 fullbrightShinyAtmosTransportFrag(vec3 light, vec3 additive, vec3 atten) { @@ -59,7 +59,7 @@ vec3 fullbrightShinyAtmosTransportFrag(vec3 light, vec3 additive, vec3 atten) { return light; } float brightness = dot(light.rgb, vec3(0.33333)); - return mix(atmosTransportFrag(light.rgb, additive, atten), (light.rgb + additive.rgb) * (2.0 - brightness), brightness * brightness); + return mix(atmosTransportFrag(light.rgb, additive, atten), (light.rgb + additive.rgb) * (2.0 - brightness), brightness * brightness * 0.1); } vec3 atmosTransport(vec3 light) |