mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-25 06:15:36 +00:00
Makes point and spot lights be correctly culled with zoning like other objects.
This commit is contained in:
parent
ca4e4fe86d
commit
dfb8f4f5e5
5 changed files with 23 additions and 2 deletions
|
|
@ -117,6 +117,10 @@ class SceneManager
|
|||
/// If true, render the AABBs of objects for debugging.
|
||||
static bool smRenderBoundingBoxes;
|
||||
|
||||
//A cache list of objects that made it through culling, so we don't have to attempt to re-test
|
||||
//visibility of objects later.
|
||||
Vector< SceneObject* > mRenderedObjectsList;
|
||||
|
||||
protected:
|
||||
|
||||
/// Whether this is the client-side scene.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue