diff options
Diffstat (limited to 'indra/newview/app_settings/shaders/class3/deferred')
| -rw-r--r-- | indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl index 5cc7ea698a..9b9739ba22 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl @@ -191,11 +191,12 @@ void main()      }      else if (GET_GBUFFER_FLAG(GBUFFER_FLAG_HAS_HDRI))      { +        // actual HDRI sky, just copy color value          color = texture(emissiveRect, tc).rgb;      } -    else if (!GET_GBUFFER_FLAG(GBUFFER_FLAG_HAS_ATMOS)) +    else if (GET_GBUFFER_FLAG(GBUFFER_FLAG_SKIP_ATMOS))      { -        //should only be true of WL sky, just port over base color value +        //should only be true of WL sky, port over base color value and scale for fake HDR          color = texture(emissiveRect, tc).rgb;          color = srgb_to_linear(color);          color *= sky_hdr_scale; | 
