My character’s hair is not blending properly… as you can see from the picture, it’s cutting out polys behind it, that are part of the same mesh. The hair and body is all on one material (part of the problem?).
I can solve this by using alpha test, but that looks worse and is not great for iOS performance, apparently.
Shader "Custom/MobileUnlitAlphaDouble"
{
Properties
{
_Color ("Color Tint", Color) = (1,1,1,1)
_MainTex ("SelfIllum Color (RGB) Alpha (A)", 2D) = "white"
}
Category
{
Lighting On
ZWrite On
Cull Off
Blend SrcAlpha OneMinusSrcAlpha
Tags {Queue=Transparent}
SubShader
{
Material
{
Emission [_Color]
}
Pass
{
SetTexture [_MainTex]
{
Combine Texture * Primary, Texture * Primary
}
}
}
}
}
Any ideas? ![]()
