diff --git a/indra/newview/app_settings/settings_sh.xml b/indra/newview/app_settings/settings_sh.xml index 732da64bf..998c3ff37 100644 --- a/indra/newview/app_settings/settings_sh.xml +++ b/indra/newview/app_settings/settings_sh.xml @@ -184,28 +184,6 @@ Boolean Value 0 - - SHPackDeferredNormals - - Comment - Pack deferred normals into two components. - Persist - 1 - Type - Boolean - Value - 0 - - SHPrecisionDeferredNormals - - Comment - Enable usage of RGB10A2 for the deferred normalMap format. Reduces normalmapping artifacts. - Persist - 1 - Type - Boolean - Value - 0 SHOcclusionFudge @@ -240,5 +218,16 @@ Value 0.09 + SHAlwaysSoftenShadows + + Comment + Enable optional blur pass on shadows. + Persist + 1 + Type + Boolean + Value + 1 + diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 18ba87865..42180df08 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -7921,7 +7921,8 @@ void LLPipeline::renderDeferredLighting() mDeferredLight.flush(); } - if (RenderDeferredSSAO) + static const LLCachedControl SHAlwaysSoftenShadows("SHAlwaysSoftenShadows",true); + if (RenderDeferredSSAO || (RenderShadowDetail > 0 && SHAlwaysSoftenShadows)) { //soften direct lighting lightmap LLFastTimer ftm(FTM_SOFTEN_SHADOW); //blur lightmap