diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2022-08-11 21:54:42 -0700 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2022-08-11 21:54:42 -0700 |
commit | 9586465672dcedd16bbbaf4e104b76acaf05ebb8 (patch) | |
tree | 055135077c9022224ffbafc097e739e015676e21 /indra/newview/app_settings/shaders/class3/deferred | |
parent | bc31d4f204329d1356c9c505a856a26bc2db9aa4 (diff) |
SL-17930: PBR: Add SSAO
Diffstat (limited to 'indra/newview/app_settings/shaders/class3/deferred')
-rw-r--r-- | indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl | 2 |
1 files changed, 1 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 7602fa9712..510f8c8b45 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl @@ -291,7 +291,7 @@ void main() #if DEBUG_PBR_IRRADIANCE_RAW vec3 debug_irradiance = irradiance; #endif - irradiance = max(amblit,irradiance); + irradiance = max(amblit,irradiance) * ambocc; #if PBR_USE_IRRADIANCE_HACK irradiance += amblit*0.5*vec3(dot(n, light_dir)); #endif |