Sprite 3D Clipping

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LoneDespair

Is there a way to manage what gets on top when rendering when on the same z-axis

I am currently making a 2.5D game using Sprite 3D and what gets rendered on top is very inconsistent that when I pan around, different sprite gets rendered on top

any tip on mitigating clipping on sprite 3D is really really appreciated, thankkss in advanceee

:bust_in_silhouette: Reply From: Luck_437

It depend if you’re using billboards or not.
Generally speaking, in 3D the sorting is made by the depth position difference from the camera.

Assuming you’re not using billboard, you just have to change by a very small number the Z position of the child sprite which should appear on top. If you want the same sprite in both direction, you will need to handle it with “Cull Mode” (Geometry->Material Override->Parameters) it make the sprite vissible or not depending the facing (from the camera).

Thank you so much
Solved it by using your advice to Change the z-axis a little bit and combining it with setting alpha cut to Discard

LoneDespair | 2019-11-14 11:28