mirror of
https://github.com/bevyengine/bevy
synced 2024-12-27 13:33:08 +00:00
d8102a0a04
# Objective - Mesh entities should cast shadows when not having Aabbs and having NoFrustumCulling - Fixes #8442 ## Solution - Mesh entities with NoFrustumCulling get no automatic Aabbs added - Point and spot lights do not cull mesh entities for their shadow mapping if they do not have an Aabb, but directional lights do - Make directional lights not cull mesh entities from cascades if the do not have Aabbs. So no Aabb as a consequence of a NoFrustumCulling component will mean that those mesh entities are not culled and so are visible to the light. --- ## Changelog - Fixed: Mesh entities with NoFrustumCulling will cast shadows for directional light shadow maps |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |