Hello, I want my character visible (with some kind of color modification) behind objects so I wrote a shader with ZTest Greater and ZTest LEqual. It works but the problem is that my character is made of different materials.
That means that if pixels from his hand is behind pixels of his head (and viceversa) the higher Z is always drawn. Is there any way to fix this? I only want this to happen with materials other than the characters.
↧