- Home /
Question by
Prog_Meisters · Oct 22, 2020 at 05:17 PM ·
spriterenderer
How would you render a 2D sprite differently when it's behind a 3D object?
I'm trying to get the same effect as in this Brackeys video but with sprites as well as 3D objects.
I've got it working with my 3D models, but my 2D sprites are not drawn on top when they move behind a 3D object even though they are on the same layer.
I don't just want the sprites to be always on top, because these will be used as selection circles for game objects, so they still need to be
unity-renderer.png
(24.3 kB)
unity-renderer2.png
(57.7 kB)
Comment
Your answer
Follow this Question
Related Questions
Load texture on disabled GameObject 1 Answer
Have a line renderer appear over a sprite? 1 Answer
Creating a level of rectangles without overlap 0 Answers
Creating a fill animation for sprite renderer 0 Answers
can you make a sprite a button? 1 Answer