bevy/crates/bevy_pbr
Elabajaba 78b6fa1f1b
sort alpha masked pipelines by pipeline & mesh instead of by distance (#12117)
# Objective

- followup to https://github.com/bevyengine/bevy/pull/11671
- I forgot to change the alpha masked phases.

## Solution

- Change the sorting for alpha mask phases to sort by pipeline+mesh
instead of distance, for much better batching for alpha masked
materials.

I also fixed some docs that I missed in the previous PR.

---

## Changelog
- Alpha masked materials are now sorted by pipeline and mesh.
2024-02-26 11:14:59 +00:00
..
src sort alpha masked pipelines by pipeline & mesh instead of by distance (#12117) 2024-02-26 11:14:59 +00:00
Cargo.toml Cleanup: Use Parallel in extract_meshes (#12084) 2024-02-25 19:06:54 +00:00