mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-24 04:46:48 +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
|
||
---|---|---|
.. | ||
canvas_item.cpp | ||
canvas_item.h | ||
canvas_layer.cpp | ||
canvas_layer.h | ||
control.cpp | ||
control.h | ||
http_request.cpp | ||
http_request.h | ||
instance_placeholder.cpp | ||
instance_placeholder.h | ||
node_2d.cpp | ||
node_2d.h | ||
node.cpp | ||
node.h | ||
process_group.cpp | ||
process_group.h | ||
property_utils.cpp | ||
property_utils.h | ||
resource_preloader.cpp | ||
resource_preloader.h | ||
scene_string_names.cpp | ||
scene_string_names.h | ||
scene_tree.cpp | ||
scene_tree.h | ||
SCsub | ||
spatial.cpp | ||
spatial.h | ||
timer.cpp | ||
timer.h | ||
viewport.cpp | ||
viewport.h | ||
world.cpp | ||
world.h |