mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-28 02:53:49 +00:00
kills off the presence of a fake light when there are no others in a given scene
This commit is contained in:
parent
69838bdc8c
commit
9e404b3707
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ void AdvancedLightBinManager::render( SceneRenderState *state )
|
|||
return;
|
||||
|
||||
// Get the sunlight. If there's no sun, and no lights in the bins, no draw
|
||||
LightInfo *sunLight = mLightManager->getSpecialLight( LightManager::slSunLightType );
|
||||
LightInfo *sunLight = mLightManager->getSpecialLight( LightManager::slSunLightType, false );
|
||||
if( !sunLight && mLightBin.empty() )
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue