31 lines
677 B
Plaintext
31 lines
677 B
Plaintext
// Simplified Additive Particle shader. Differences from regular Additive Particle one:
|
|
// - no Tint color
|
|
// - no Smooth particle support
|
|
// - no AlphaTest
|
|
// - no ColorMask
|
|
|
|
Shader "EffectCore/Mobile/Particles/Additive-ZTestAlways" {
|
|
Properties {
|
|
_MainTex ("Particle Texture", 2D) = "white" {}
|
|
}
|
|
|
|
Category {
|
|
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
|
|
Blend SrcAlpha One
|
|
Cull Off Lighting Off ZWrite Off ZTest Always Fog { Color (0,0,0,0) }
|
|
|
|
BindChannels {
|
|
Bind "Color", color
|
|
Bind "Vertex", vertex
|
|
Bind "TexCoord", texcoord
|
|
}
|
|
|
|
SubShader {
|
|
Pass {
|
|
SetTexture [_MainTex] {
|
|
combine texture * primary
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |