mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
surpress nonrendered lights killoff method till we've time to revisit that
This commit is contained in:
parent
852f82b8a5
commit
ae8bc232a2
1 changed files with 2 additions and 2 deletions
|
|
@ -226,7 +226,7 @@ void LightManager::registerGlobalLights( const Frustum *frustum, bool staticLigh
|
|||
{
|
||||
// Cull the lights using the frustum.
|
||||
getSceneManager()->getContainer()->findObjectList( *frustum, lightMask, &activeLights );
|
||||
|
||||
/*
|
||||
for (U32 i = 0; i < activeLights.size(); ++i)
|
||||
{
|
||||
if (!getSceneManager()->mRenderedObjectsList.contains(activeLights[i]))
|
||||
|
|
@ -235,7 +235,7 @@ void LightManager::registerGlobalLights( const Frustum *frustum, bool staticLigh
|
|||
--i;
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
// Store the culling position for sun placement
|
||||
// later... see setSpecialLight.
|
||||
mCullPos = frustum->getPosition();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue