bevy/crates/bevy_pbr/src
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
..
deferred Rename Core Render Graph Labels (#11882) 2024-02-15 23:15:16 +00:00
light_probe Disable irradiance volumes on WebGL and WebGPU. (#11909) 2024-02-17 01:49:46 +00:00
lightmap Move EntityHash related types into bevy_ecs (#11498) 2024-02-12 15:02:24 +00:00
prepass sort alpha masked pipelines by pipeline & mesh instead of by distance (#12117) 2024-02-26 11:14:59 +00:00
render Fix WebGL not rendering StandardMaterial (#12110) 2024-02-25 22:42:28 +00:00
ssao Rename Core Render Graph Labels (#11882) 2024-02-15 23:15:16 +00:00
bundle.rs Move EntityHash related types into bevy_ecs (#11498) 2024-02-12 15:02:24 +00:00
extended_material.rs Reorder impl to be the same as the trait (#11076) 2023-12-24 17:43:55 +00:00
fog.rs Check cfg during CI and fix feature typos (#12103) 2024-02-25 15:19:27 +00:00
lib.rs Rename bevy_render::Color to LegacyColor (#12069) 2024-02-24 21:35:32 +00:00
light.rs Check cfg during CI and fix feature typos (#12103) 2024-02-25 15:19:27 +00:00
material.rs sort alpha masked pipelines by pipeline & mesh instead of by distance (#12117) 2024-02-26 11:14:59 +00:00
parallax.rs bevy_reflect: FromReflect Ergonomics Implementation (#6056) 2023-06-29 01:31:34 +00:00
pbr_material.rs Fix WebGL not rendering StandardMaterial (#12110) 2024-02-25 22:42:28 +00:00
wireframe.rs Check cfg during CI and fix feature typos (#12103) 2024-02-25 15:19:27 +00:00