0 votes

Hi, I have one scene which is composed of several Sprite3D layers placed in the same coordinate.

how do I set the draw order of the Sprite3D? I want to specify which one is in front, and which one behind.

I'd like to avoid setting them on different coordinates, since they are being rotated in code to look at the camera, and I'd have to also move them in front of each other at the same time I rotate them.

Thank you

PS: this is a similar problem, but not the same. My sprites are all places exactly in the same coordinates.
https://github.com/godotengine/godot/issues/7964

in Engine by (31 points)
edited by

1 Answer

+1 vote
Best answer

For future reference on anyone having a similar issue:
Click on the Sprite3D -> Flags -> Alpha Cut -> Select Opaque Pre-Pass
Move your textures slightly back and forth on Z to set the order

by (31 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.