diff options
author | Dave Parks <davep@lindenlab.com> | 2022-09-26 18:08:42 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-09-26 18:08:42 -0500 |
commit | 44f2286e42a10270c23ea11e308143948d1e3288 (patch) | |
tree | 90f079a25572f628d91c8d69e6c8429be363112e /indra/newview/app_settings/shaders | |
parent | d53c077315418e95bcb23d720e86d3d50d7b47b1 (diff) |
SL-18190 Use bindDeferredShader in alpha pool. Don't redundantly apply ao to irradiance.
Diffstat (limited to 'indra/newview/app_settings/shaders')
-rw-r--r-- | indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl index 29aea62f7b..d525b673bf 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl @@ -157,7 +157,8 @@ void main() vec3 irradiance = vec3(0); vec3 radiance = vec3(0); sampleReflectionProbes(irradiance, radiance, pos.xyz, norm.xyz, gloss); - irradiance = max(amblit*1.725,irradiance*ambocc); + + irradiance = max(amblit*1.725,irradiance); vec3 f0 = vec3(0.04); vec3 baseColor = diffuse.rgb; |