mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 11:56:49 +01:00
Relintai
5d2a594843
Existing shadow caster culling using the BVH takes no account of the camera. This PR adds the highly encapsulated class VisualServerLightCuller which can cut down the casters in the shadow volume to only those which can cast shadows on the camera frustum.
This is used to:
* More accurately defer dirty updates to shadows when the shadow volume does not intersect the camera frustum.
* Tighter cull shadow casters to the view frustum.
Lights dirty state is now automatically managed:
* Continuous (tighter caster culling)
* Static (all casters are rendered)
- lawnjelly
|
||
---|---|---|
.. | ||
audio | ||
navigation | ||
physics | ||
physics_2d | ||
rendering | ||
audio_server.cpp | ||
audio_server.h | ||
navigation_2d_server.cpp | ||
navigation_2d_server.h | ||
navigation_server.cpp | ||
navigation_server.h | ||
physics_2d_server.cpp | ||
physics_2d_server.h | ||
physics_server.cpp | ||
physics_server.h | ||
register_server_types.cpp | ||
register_server_types.h | ||
rendering_server_callbacks.cpp | ||
rendering_server_callbacks.h | ||
rendering_server.cpp | ||
rendering_server.h | ||
SCsub | ||
server_wrap_mt_common.h | ||
window_server.cpp | ||
window_server.h |