- Home /
Trouble with mesh rendering order
Hello,
I have trouble with mesh rendering (working on it for several days now). Here is my situation :
I try to hide the unwanted sight part of my 3D character that cross my decor. I have tried multiple things and here is my current situation :
All mesh renderer share the same render queue (3000).
I set _ZWrite Off (0) by the material through script on both shaders.
I have configured mutliple Sorting Layer and I thought playing with them in order to hide the unwanted sight.
Well, it doesn't work.
The strange thing is that when I reverse the Sorting Layer order, my complete 3D character is drawn over the decor. However, I want exactly the opposite effect :/
I think I miss something, maybe at shader level. Any idea that might help ?
Thanks in advance.
PS : skinned mesh renderer for the character.
Your answer
Follow this Question
Related Questions
Camera layering : UI shader is cleared by second camera with Depth Only flag 1 Answer
Make Sprite-Diffuse shader work on mesh renderer? 0 Answers
URP 2D lights with Mesh Renderer?,URP 2D Light for Mesh Renderer? 0 Answers
Render real world UI infront of only 1 other Layer 1 Answer
Subtractive Rendering? 4 Answers