I have a basic unlit/transparent shader. When I attach it for a quad it works on editor, but not on iOS device. Works with planes everywhere! Any ideas?
Shader "Custom/unlittransparent" {
Properties {
_Color("Color & Transparency", Color) = (0, 0, 0, 0.5)
}
SubShader {
Lighting Off
ZWrite Off
Cull Back
Blend SrcAlpha OneMinusSrcAlpha
Tags {"Queue" = "Transparent"}
Color[_Color]
Pass {
}
}
FallBack "Transparent/Diffuse"
}
↧