So, I have a 2.5d game with 2d sprites in a 3d world, that sprites are divided in two parts, color and line. The color and line stays in the same position, because of that they starts z-fighting. I tried build a shader to set an offset to the line renderer, to make her stay always in front of color renderer, and it works in the majority times, but depending of the position of the color sprite, that renderer is completly hided by the line sprite…
I’m a newby making shaders, so I create my shader with shader graph and then copy the source code and replaced in the Unlit shader, after make that I turned on the ZWrite and modified the offset “property”
Finaly, how can I solve that hiding bug?
