I wanna make my character transparent according user control. so I changed the character shader to Transparent/VertexLit shader. I can set the material’s a color to achieve transparency.
But when I changed to use Transparent/VertexLit instead of Self-Illumin/VertexLit shader. the character was rendered quite abnormal.
the hair seems intersecting with the head.I read the unity script reference. It said it was a sorting problem. But It didn’t tell me how to fix this problem.