summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class3/windlight
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2019-12-03 17:49:49 -0700
committerDave Houlton <euclid@lindenlab.com>2019-12-03 17:49:49 -0700
commit020ffe1bd3bb428abc0219d808a6a032cb6c2aeb (patch)
treeeadafe8a233de9caf098b9570e5c5b36fc94e0d6 /indra/newview/app_settings/shaders/class3/windlight
parent41330f4a39e996fbcd4afa931973127a4abbcf86 (diff)
SL-11055 Increase fog burn-through for fullbrights (for reals)
Diffstat (limited to 'indra/newview/app_settings/shaders/class3/windlight')
-rw-r--r--indra/newview/app_settings/shaders/class3/windlight/transportF.glsl5
1 files changed, 3 insertions, 2 deletions
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;
}