diff options
author | Dave Houlton <euclid@lindenlab.com> | 2019-12-03 17:49:49 -0700 |
---|---|---|
committer | Dave Houlton <euclid@lindenlab.com> | 2019-12-03 17:49:49 -0700 |
commit | 020ffe1bd3bb428abc0219d808a6a032cb6c2aeb (patch) | |
tree | eadafe8a233de9caf098b9570e5c5b36fc94e0d6 /indra | |
parent | 41330f4a39e996fbcd4afa931973127a4abbcf86 (diff) |
SL-11055 Increase fog burn-through for fullbrights (for reals)
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/windlight/transportF.glsl | 5 | ||||
-rw-r--r-- | indra/newview/app_settings/shaders/class3/windlight/transportF.glsl | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/indra/newview/app_settings/shaders/class2/windlight/transportF.glsl b/indra/newview/app_settings/shaders/class2/windlight/transportF.glsl index d2d839ed05..8fc5d750e3 100644 --- a/indra/newview/app_settings/shaders/class2/windlight/transportF.glsl +++ b/indra/newview/app_settings/shaders/class2/windlight/transportF.glsl @@ -38,8 +38,9 @@ vec3 atmosTransportFrag(vec3 light, vec3 additive, vec3 atten) { return light * 2.0; } - light *= atten.r; - light += additive; + // fullbright responds minimally to atmos scatter effects + light *= min(15.0 * atten.r, 1.0); + light += (0.1 * additive); return light * 2.0; } diff --git a/indra/newview/app_settings/shaders/class3/windlight/transportF.glsl b/indra/newview/app_settings/shaders/class3/windlight/transportF.glsl index 08eb119510..18705f785f 100644 --- a/indra/newview/app_settings/shaders/class3/windlight/transportF.glsl +++ b/indra/newview/app_settings/shaders/class3/windlight/transportF.glsl @@ -38,8 +38,9 @@ vec3 atmosTransportFrag(vec3 light, vec3 additive, vec3 atten) { return light; } - light *= atten.r; - light += additive; + // fullbright responds minimally to atmos scatter effects + light *= min(15.0 * atten.r, 1.0); + light += (0.1 * additive); return light * 2.0; } |