mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-19 06:33:49 +00:00
registergloballights now taks a (by default on) cullSceneLights. off for reflection capture as that is presently acting up
This commit is contained in:
parent
9d1e49a8eb
commit
8590f7daf9
4 changed files with 15 additions and 14 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue