bevy/crates/bevy_pbr/src
Robert Swain a9f2817c49 bevy_pbr: Do not panic when more than 256 point lights are added the scene (#3697)
# Objective

- Do not panic when mroe than 256 point lights are added the scene
- Fixes https://github.com/bevyengine/bevy/issues/3682

## Solution

- Only iterate the first `MAX_POINT_LIGHTS` lights instead of as many as there are

## Open questions

- Should we warn that there are more than the maximum allowed number of point lights in the scene?
2022-01-17 22:22:15 +00:00
..
render bevy_pbr: Do not panic when more than 256 point lights are added the scene (#3697) 2022-01-17 22:22:15 +00:00
alpha.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
bundle.rs bevy_gltf: Add support for loading lights (#3506) 2022-01-03 07:59:25 +00:00
lib.rs Add headless mode (#3439) 2022-01-08 10:39:43 +00:00
light.rs bevy_pbr: Use a special first depth slice for clustered forward (#3545) 2022-01-07 21:25:59 +00:00
material.rs Materials and MaterialPlugin (#3428) 2021-12-25 21:45:43 +00:00
pbr_material.rs Materials and MaterialPlugin (#3428) 2021-12-25 21:45:43 +00:00
wireframe.rs Add headless mode (#3439) 2022-01-08 10:39:43 +00:00