diff options
author | Geenz <geenz@geenzo.com> | 2019-04-10 03:20:04 -0700 |
---|---|---|
committer | Geenz <geenz@geenzo.com> | 2019-04-10 03:20:04 -0700 |
commit | de1a88d6bb17e767a9db8979ea2f7c0b3ba4cb41 (patch) | |
tree | e891d8252b4d5751020b45952ec68b2da3f59934 /indra/newview/app_settings/shaders/class1/deferred | |
parent | 3d0c05ba3aef00dfe8388e2081b3125bf252c1c0 (diff) |
Revive the shading model that masks fog.
--HG--
branch : OPEN-340
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred')
-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 b166f45bce..ff30004ffd 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl @@ -166,7 +166,7 @@ vec3 post_diffuse = col.rgb; col = mix(col.rgb, refcol, envIntensity); } - //if (norm.w < 0.5) + if (norm.w < 1) { col = atmosFragLighting(col, additive, atten); col = scaleSoftClipFrag(col); |