mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
9d6a4fbc85
Based on top of #12982 and #13069 # Objective - Opaque2d was implemented with SortedRenderPhase but BinnedRenderPhase should be much faster ## Solution - Implement BinnedRenderPhase for Opaque2d ## Notes While testing this PR, before the change I had ~14 fps in bevymark with 100k entities. After this change I get ~71 fps, compared to using sprites where I only get ~63 fps. This means that after this PR mesh2d with opaque meshes will be faster than the sprite path. This is not a 1 to 1 comparison since sprites do alpha blending. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |