bevy/crates/bevy_pbr/src
Eero Lehtinen 17914943a3
Fix spot light shadow glitches (#19273)
# Objective

Spot light shadows are still broken after fixing point lights in #19265

## Solution

Fix spot lights in the same way, just using the spot light specific
visible entities component. I also changed the query to be directly in
the render world instead of being extracted to be more accurate.

## Testing

Tested with the same code but changing `PointLight` to `SpotLight`.
2025-05-19 19:42:09 +00:00
..
atmosphere Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
cluster Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
decal Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
deferred Use embedded_asset to load PBR shaders (#19137) 2025-05-16 05:47:34 +00:00
light Fix newline in PointLightShadowMap comment (#18791) 2025-04-10 18:05:11 +00:00
light_probe Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
lightmap Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
meshlet Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
prepass Make sure prepass notices changes in alpha mode (#19170) 2025-05-18 06:28:30 +00:00
render Fix spot light shadow glitches (#19273) 2025-05-19 19:42:09 +00:00
ssao Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
ssr Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
volumetric_fog Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
components.rs reexport entity set collections in entity module (#18413) 2025-03-30 03:51:14 +00:00
extended_material.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
fog.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
lib.rs Use embedded_asset to load PBR shaders (#19137) 2025-05-16 05:47:34 +00:00
material_bind_groups.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
material.rs Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
mesh_material.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
parallax.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
pbr_material.rs Use embedded_asset to load PBR shaders (#19137) 2025-05-16 05:47:34 +00:00
wireframe.rs Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00