diff options
author | Michael Pohoreski <ptolemy@lindenlab.com> | 2022-06-23 15:43:16 +0000 |
---|---|---|
committer | Michael Pohoreski <ptolemy@lindenlab.com> | 2022-06-23 15:43:16 +0000 |
commit | 54edd8ba8b824241f3d6df9e3ffff7a7c926665d (patch) | |
tree | c106ca423af59f10077e91e1390acac45124a4b5 /indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl | |
parent | d995ac67ae2b668d988dc395f28b219f5809c284 (diff) | |
parent | ac62a744586e4a6f1130dcdcb38f75a2d3247de1 (diff) |
Merged in SL-17274_gbuffer_flags (pull request #1030)
SL-17274 gbuffer flags
Approved-by: Dave Parks
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl index 7700d16007..dfb93c17dc 100644 --- a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl @@ -139,7 +139,7 @@ void main() color = mix(color.rgb, reflected_color, envIntensity); } - if (norm.w < 0.5) + if (GET_GBUFFER_FLAG(GBUFFER_FLAG_HAS_ATMOS)) { color = mix(atmosFragLighting(color, additive, atten), fullbrightAtmosTransportFrag(color, additive, atten), diffuse.a); color = mix(scaleSoftClipFrag(color), fullbrightScaleSoftClip(color), diffuse.a); |