registergloballights now taks a (by default on) cullSceneLights. off for reflection capture as that is presently acting up

This commit is contained in:
Azaezel 2018-12-04 12:41:15 -06:00
parent 9d1e49a8eb
commit 8590f7daf9
4 changed files with 15 additions and 14 deletions

View file

@ -195,7 +195,7 @@ void SceneManager::renderScene( SceneRenderState* renderState, U32 objectMask, S
// Get the lights for rendering the scene.
PROFILE_START( SceneGraph_registerLights );
LIGHTMGR->registerGlobalLights( &renderState->getCullingFrustum(), false );
LIGHTMGR->registerGlobalLights( &renderState->getCullingFrustum(), false, renderState->isDiffusePass());
PROFILE_END();
// If its a diffuse pass, update the current ambient light level.