Gizmos are rendered behind meshes with positive z-coordinate on 2d #17053
Labels
A-Gizmos
Visual editor and debug gizmos
C-Bug
An unexpected or incorrect behavior
D-Straightforward
Simple bug fixes and API improvements, docs, test and examples
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
Bevy version
Bevy
0.15.0
from crates.io. The result is same with 9cebc66 (latestmain
at the time of writing).What you did
I'm trying to use gizmos with 2d camera, while using z coordinate to maintain draw ordering of my objects.
What went wrong
I was expecting the gizmos to be rendered on top. However, meshes with z-coordinate > 0 are rendered on top of gizmos.
Curiously the behavior on bevy 0.14.2 is what I expected. (Click to show code)
The text was updated successfully, but these errors were encountered: