-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Sprites in 3d #2786
Comments
# Objective Make Sprites usable in 3d space. ## Solution Rename Sprite to Sprite2d and add Sprite3d. Add Example 3d_sprite_pipelined. NOTE: Currently, differences between Sprite2d and Sprite3d and its rendering pipelines are minor. Implementations might diverge to greater extend with future iterations.
I just lost an hour on this too, this is very confusing. Why is there such a hard distinction between 2D and 3D? Note for reference that the opposite issue is #3326, where 3D objects don't show up in 2D. |
I ran into this when migrating to 0.6. Sprites worked with PerspectiveCamera in 0.5, now they don't. To reproduce, run the Sprite demo, replace the ortho camera with
|
Related issue, Billboards: #3688 |
Sounds legit. Should probably close this, then. |
Even if I also feel it would be useful to have functionality like sprite sheets available in 3D, whether for billboards or 2D graphics in 3D worlds. I know the At the very least I think this issue should remain open until some kind of warning can be given when a user tries to render a |
Bevy version
59bfbd3
Operating system & version
macOS 10.15.6
What you did
Place a sprite in 2d, then in 3d.
What you expected to happen
Sprite showing in 2d and 3d.
What actually happened
Sprite only visible in 2d. Not shown for orthographic and perspective 3d.
Additional information
The 3D graph uses
Transparent3dPhase
. Sprites are scoped in theTransparent2dPhase
.The text was updated successfully, but these errors were encountered: