pandemonium_engine/scene
Relintai 5d2a594843 Ported: Shadow volume culling and tighter shadow caster culling
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
8ca631a466
2024-02-08 18:40:44 +01:00
..
2d File copyright header updates pt9. 2023-12-18 00:25:33 +01:00
3d Portals - Improve conversion logging 2024-02-08 15:12:23 +01:00
animation File copyright header updates pt9. 2023-12-18 00:25:33 +01:00
audio File copyright header updates pt9. 2023-12-18 00:25:33 +01:00
debugger File copyright header updates pt9. 2023-12-18 00:25:33 +01:00
gui Preserve selection when focusing SpinBox 2024-02-08 14:44:21 +01:00
main Ported: Shadow volume culling and tighter shadow caster culling 2024-02-08 18:40:44 +01:00
resources Remove unused struct in GradientTexture1D 2024-02-08 13:25:47 +01:00
register_scene_types.cpp File copyright header updates pt10. 2023-12-18 00:31:04 +01:00
register_scene_types.h File copyright header updates pt10. 2023-12-18 00:31:04 +01:00
SCsub Mass replaced godot to pandemonium. 2022-03-23 20:46:05 +01:00