Hello what I exactly want is render 3d object behind the Sprite Renderer
.
I am manage to do this with adding Sorting Group
to Skinned Mesh Renderer
and changing the material of 3d object to Transparent
. It works. But when I set transparent and set alpha
to 1
. It renders behind meshes like in the picture. And setup is in the pictures. So in the view it renders 3d object behind the Sprite Renderer
. But as you can see I have issue that 3d object shows behind mesh.
I tested adding ZWrite
on to custom shader. It solves the issue of transparency but this time sorting doesn’t work.
How can I resolve this?
Any help will be appreciated thank you very much.
Did you try setting the render queue of the character higher than the sprite? Like 3001.
– Modlin