diff options
| author | Ptolemy <ptolemy@lindenlab.com> | 2022-08-31 13:19:56 -0700 | 
|---|---|---|
| committer | Ptolemy <ptolemy@lindenlab.com> | 2022-08-31 13:19:56 -0700 | 
| commit | eff9f08bd9128bfa64ce1b86ce0d74a76d8cc548 (patch) | |
| tree | f37f135399a83926d071579cf65641bd86ec18de /indra/newview | |
| parent | 71115a7a2727301dbf8ba62a082cc9fa1d310a8d (diff) | |
DRTVWR-559: PBR: Disable PBR bloom
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl | 5 | 
1 files changed, 4 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 fe829edb88..507eb37627 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl @@ -390,7 +390,10 @@ void main()              vec3 sunDiffuse = base * intensity * BRDFLambertian (reflect0, reflect90, c_diff    , specWeight, vh);              vec3 sunSpec    =        intensity * BRDFSpecularGGX(reflect0, reflect90, alphaRough, specWeight, vh, nl, nv, nh);  #endif -            bloom = dot(sunSpec, sunSpec) / (scale * scale * scale); +            // Disabling PBR bloom due to two reasons: +            //   1. The glTF 2.0 Specification does not specify bloom, +            //   2. As the camera moves there are lots of bloom shimmering. +            //bloom = dot(sunSpec, sunSpec) / (scale * scale * scale);      #if DEBUG_PBR_SUN_SPEC_FRESNEL              colorDiffuse = vec3(0);  | 
