Transparency Sort Axis with Transparent 3d material

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. :slight_smile:

Anyone who wants to solve this. This is not possible to do with basic thing . There are two ways I know. First one is Camera render to RenderTexture which is too bad on performance. The best way I found this creating Scriptable Render Feature. Get renderer material and draw renderer to render texture.