bevyengine / bevyengine/bevy

Mesh2d improvements tracking issues

Open
#13,265 1 comment 7 reactions 0 assignees View on GitHub
C-Tracking-Issue
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Description

Mesh2d is currently very slow compared to sprites and is also missing quite a few features compared to 3d.

- [x] Clean up 2d render phases to prepare for adding more phases - https://github.com/bevyengine/bevy/pull/12982
- [x] Add 2d opaque phase with depth buffer - https://github.com/bevyengine/bevy/pull/13069
- [x] Enable binning for 2d opaque phase - https://github.com/bevyengine/bevy/pull/13091
- [x] Add 2d alpha mask phase - https://github.com/bevyengine/bevy/pull/14724
- [ ] Draw opaque/masked sprites in the opaque pass
- [ ] Make the 2d depth buffer optional
- [ ] Investigate ways to make transparent mesh2d as fast as sprites
- [ ] Investigate if using OIT with binning in 2d can speed up alpha blending compared to sprites.
- [ ] ~~Investigate using vertex pulling for all mesh2d~~
- [ ] Switch to using mesh2d as a backend for sprites

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.