SpriteRenderer with Billboard set to None have some weird depth issues (with other SpriteRenderer, WorldPanels and TextRenderer)
Author: Guilhem-PechCreated Sep 23, 2026Updated Sep 23, 2026
Version / Commit
26.09.22-ed761d4
Describe the bug
When a SpriteRenderer has its Billboard property set to None, placing a TextRenderer in front of the sprite does not respect the expected 3D depth ordering.
The SpriteRenderer is still rendered in front of the TextRenderer, even when the text is physically closer to the camera.
To Reproduce
- Create a SpriteRenderer.
- Set its Billboard property to None.
- Place a TextRenderer in front of the SpriteRenderer, closer to the camera. (with Billboard property to None)
- View the scene from the camera.
Expected behavior
The TextRenderer should be rendered in front of the SpriteRenderer because it is closer to the camera, following normal depth ordering.
Media/Files
https://github.com/user-attachments/assets/8c49c201-3758-42dd-9d6f-9061df67953d
Additional context
No response
Source: Facepunch/sbox-public