bevy/crates/bevy_core_pipeline/src
Patrick Walton 4880a231de
Implement occlusion culling for directional light shadow maps. (#17951)
Two-phase occlusion culling can be helpful for shadow maps just as it
can for a prepass, in order to reduce vertex and alpha mask fragment
shading overhead. This patch implements occlusion culling for shadow
maps from directional lights, when the `OcclusionCulling` component is
present on the entities containing the lights. Shadow maps from point
lights are deferred to a follow-up patch. Much of this patch involves
expanding the hierarchical Z-buffer to cover shadow maps in addition to
standard view depth buffers.

The `scene_viewer` example has been updated to add `OcclusionCulling` to
the directional light that it creates.

This improved the performance of the rend3 sci-fi test scene when
enabling shadows.
2025-02-21 05:56:15 +00:00
..
auto_exposure Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
blit Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
bloom Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
contrast_adaptive_sharpening Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
core_2d main_transparent_pass_2d render node command encoding parallelization (#17735) 2025-02-09 14:12:33 +00:00
core_3d Implement occlusion culling for the deferred rendering pipeline. (#17934) 2025-02-20 12:54:27 +00:00
deferred Implement occlusion culling for the deferred rendering pipeline. (#17934) 2025-02-20 12:54:27 +00:00
dof Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
experimental Implement occlusion culling for directional light shadow maps. (#17951) 2025-02-21 05:56:15 +00:00
fullscreen_vertex_shader Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
fxaa Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
motion_blur Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
oit Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
post_process Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
prepass Implement occlusion culling for the deferred rendering pipeline. (#17934) 2025-02-20 12:54:27 +00:00
skybox Derive Reflect on Skybox (#17781) 2025-02-10 22:24:23 +00:00
smaa Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
taa Weak handle migration (#17695) 2025-02-05 22:44:20 +00:00
tonemapping Allowed creating uninitialized images (for use as storage textures) (#17760) 2025-02-10 22:22:07 +00:00
upscaling Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
lib.rs Implement experimental GPU two-phase occlusion culling for the standard 3D mesh pipeline. (#17413) 2025-01-27 05:02:46 +00:00
msaa_writeback.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00