Hi, I'm working on a 3D game. I just need to have my sprite HUDs (small icons over characters) rendered after the geometry, without being clipped at all. I prefer to not use a second camera. Render queue and sorting layers seems to not having any effect. (maybe they are used for 2d only?) Tried also r.material.SetInt("_Zwrite", 0); r.material.SetInt("_Ztest", 0); I need help... thank you
If check with Frame Debugger, it shows ZTest is still used, so if want to do it manually, add Code (CSharp): ZTest Off to the sprite shader: You can download built in shaders from https://unity3d.com/get-unity/download/archive (see dropdown for the shaders)