23 lines
542 B
Plaintext
23 lines
542 B
Plaintext
Shader "Mobile/Particles/Alpha Blended" {
|
|
Properties {
|
|
_MainTex ("Particle Texture", 2D) = "white" {}
|
|
}
|
|
SubShader {
|
|
Tags { "QUEUE"="Transparent" "IGNOREPROJECTOR"="true" "RenderType"="Transparent" }
|
|
Pass {
|
|
Tags { "QUEUE"="Transparent" "IGNOREPROJECTOR"="true" "RenderType"="Transparent" }
|
|
BindChannels {
|
|
Bind "vertex", Vertex
|
|
Bind "color", Color
|
|
Bind "texcoord", TexCoord
|
|
}
|
|
ZWrite Off
|
|
Cull Off
|
|
Fog {
|
|
Color (0,0,0,0)
|
|
}
|
|
Blend SrcAlpha OneMinusSrcAlpha
|
|
SetTexture [_MainTex] { combine texture * primary }
|
|
}
|
|
}
|
|
} |