mirror of
https://github.com/bevyengine/bevy
synced 2024-12-19 01:23:09 +00:00
7236070573
This patch makes shadows use multidraw when the camera they'll be drawn to has the `GpuCulling` component. This results in a significant reduction in drawcalls; Bistro Exterior drops to 3 drawcalls for each shadow cascade. Note that PR #16670 will remove the `GpuCulling` component, making shadows automatically use multidraw. Beware of that when testing this patch; before #16670 lands, you'll need to manually add `GpuCulling` to your camera in order to see any performance benefits. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |