bevy/examples/stress_tests
Daniel Chia 52f06175dd Better cascades config defaults + builder, tweak example configs (#7456)
# Objective

- Improve ergonomics / documentation of cascaded shadow maps
- Allow for the customization of the nearest shadowing distance.
- Fixes #7393 
- Fixes #7362 

## Solution

- Introduce `CascadeShadowConfigBuilder`
- Tweak various example cascade settings for better quality.

---

## Changelog

- Made examples look nicer under cascaded shadow maps.
- Introduce `CascadeShadowConfigBuilder` to help with creating `CascadeShadowConfig`

## Migration Guide

- Configure settings for cascaded shadow maps for directional lights using the newly introduced `CascadeShadowConfigBuilder`.

Co-authored-by: Robert Swain <robert.swain@gmail.com>
2023-02-05 08:06:32 +00:00
..
bevymark.rs Windows as Entities (#5589) 2023-01-19 00:38:28 +00:00
many_animated_sprites.rs Cleanup many sprites stress tests (#7436) 2023-02-01 21:07:11 +00:00
many_buttons.rs Windows as Entities (#5589) 2023-01-19 00:38:28 +00:00
many_cubes.rs Windows as Entities (#5589) 2023-01-19 00:38:28 +00:00
many_foxes.rs Better cascades config defaults + builder, tweak example configs (#7456) 2023-02-05 08:06:32 +00:00
many_lights.rs Use Time resource instead of Extracting Time (#7316) 2023-01-21 17:55:39 +00:00
many_sprites.rs Cleanup many sprites stress tests (#7436) 2023-02-01 21:07:11 +00:00
README.md Add a stress test profile (#6901) 2022-12-20 15:59:41 +00:00
transform_hierarchy.rs fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
warning_string.txt Added performance warning when running stress test examples in debug mode (#5029) 2022-07-13 19:13:46 +00:00

Stress tests

These examples are used to stress test Bevy's performance in various ways. These should be run with the "stress-test" profile to accurately represent performance in production, otherwise they will run in cargo's default "dev" profile which is very slow.

Example Command

cargo run --profile stress-test --example <EXAMPLE>