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 0d915b31ae
commit bd742bbf75
4 changed files with 15 additions and 14 deletions

View file

@ -422,7 +422,7 @@ void CubeReflector::updateFace( const ReflectParams &params, U32 faceidx )
reflectRenderState.setDiffuseCameraTransform( params.query->headMatrix );
// render scene
LIGHTMGR->registerGlobalLights( &reflectRenderState.getCullingFrustum(), false );
LIGHTMGR->registerGlobalLights( &reflectRenderState.getCullingFrustum(), false, false );
gClientSceneGraph->renderSceneNoLights( &reflectRenderState, mDesc->objectTypeMask );
LIGHTMGR->unregisterAllLights();