-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3D gizmos are rendered behind the grid #45520
Comments
To be clear, you're talking about the directional light gizmo specifically here? |
All of the 'gizmos' are behind the grid, the transform handle is not. |
I tested some old Godot versions. This bug occurs on all 3.x releases (I tested down to 3.0.6) but does not occur on 2.1.6. |
This happens because of the transparent object sorting, there's no easy way to split the grid so that sorting doesn't cause issues AFAIK. After #28289 (or #43206 for 3.2) the issue has become more apparent due to the grid being denser, especially at very steep viewing angles like in OP's image. I have a WIP branch adding a shader to the grid, so it fades nicely at steep angles. I will try to clean it up and open a PR soon. |
Can't the grid then just be rendered as solid lines; does it need transparency? |
Yes, the grid needs transparency to look more subtle especially since it's infinite. Otherwise, it easily gets too obnoxious. |
I opened #45594, which should mitigate this issue. |
With the new fading-out grid, this is less noticeable |
Godot version:
3.2.4.beta6.mono.official
OS/device including version:
win10, nvidia gtx1060
Issue description:
Editor scene gizmos are rendered behind the world grid:
The text was updated successfully, but these errors were encountered: