from @rextimmy: ssao work

shifts ssao from the vectorlight to ibl-only via the reflectionProbearray postfx shader
This commit is contained in:
AzaezelX 2019-10-31 19:06:40 -05:00
parent 864d40eb92
commit e75124fdf7
10 changed files with 107 additions and 85 deletions

View file

@ -447,10 +447,6 @@ AdvancedLightBinManager::LightMaterialInfo* AdvancedLightBinManager::_getLightMa
if ( smPSSMDebugRender )
shadowMacros.push_back( GFXShaderMacro( "PSSM_DEBUG_RENDER" ) );
// If its a vector light see if we can enable SSAO.
if ( lightType == LightInfo::Vector && smUseSSAOMask )
shadowMacros.push_back( GFXShaderMacro( "USE_SSAO_MASK" ) );
// Now create the material info object.
info = new LightMaterialInfo( lightMatName, smLightMatVertex[ lightType ], shadowMacros );
}