DarkRadiant: master 3d0112d2

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 21.10.2020 20:06 master 1e733626
Changeset Correctly cull projected lights in camera view

The lightAABB() method used by CamRenderer to cull lights was completely
non-functional for projected lights, returning only a default [320, 320, 320]
AABB based on the default Doom3LightRadius.

We now return an AABB calculated from the Frustum in world space, which in turn
makes use of the new Frustum::getAABB() method.
mod - radiant/entity/light/Light.cpp Diff File