diff options
author | Dave Parks <davep@lindenlab.com> | 2022-09-26 17:41:22 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-09-26 17:41:22 -0500 |
commit | 23ad6e930b6b4a163c2bb83905ca38ceb04e780e (patch) | |
tree | 1759e3c32b9163df7a5774e89023b13215511bef | |
parent | 725d042640f5b0474b58e6a1af0a4063c7e5cfc2 (diff) |
SL-18190 WIP - Whoopsie from last commit
-rw-r--r-- | indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl | 3 |
1 files changed, 1 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 9374922494..29aea62f7b 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl @@ -176,7 +176,7 @@ void main() //color = atmosFragLighting(color, additive, atten); color *= atten.r; - color += additive; + color += additive*2.0; } else @@ -195,7 +195,6 @@ void main() // use sky settings ambient or irradiance map sample, whichever is brighter color = max(amblit, ambenv*ambocc); - color = ambenv; float ambient = min(abs(dot(norm.xyz, sun_dir.xyz)), 1.0); ambient *= 0.5; |