24 lines
525 B
Plaintext
24 lines
525 B
Plaintext
|
|
||
|
Shader "Mobile/Particles/Additive" {
|
||
|
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 One
|
||
|
SetTexture [_MainTex] { combine texture * primary }
|
||
|
}
|
||
|
}
|
||
|
}
|