mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
4c4a6c4506
# Objective When running the Metal debugger I noticed that 2D cameras have shadow map textures from `bevy_pbr` built for them. For a 2560x1440 2D camera, this PR saves about 40mb of texture memory. ![image](https://github.com/user-attachments/assets/925e9392-2721-41bb-83e9-25c84fd563cd) ![image](https://github.com/user-attachments/assets/0cc3c0a9-cbf7-431c-b444-952c28d4e9d0) ## Solution - Added `With<Camera3d>` filter to the appropriate view queries. ## Testing - This is a trivial fix (the examples still work) |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |