xirang/Assets/StylizedProjectilePack1/shader/Mobile-Particle-AlphaBlended-ZTestAlways.shader
杨号敬 6664b0584c add
2024-11-26 22:01:14 +08:00

32 lines
706 B
Plaintext

// Simplified Alpha Blended Particle shader. Differences from regular Alpha Blended Particle one:
// - no Tint color
// - no Smooth particle support
// - no AlphaTest
// - no ColorMask
Shader "EffectCore/Mobile/Particles/Alpha Blended-ZTestAlways" {
Properties {
_MainTex ("Particle Texture", 2D) = "white" {}
}
Category {
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
Blend SrcAlpha OneMinusSrcAlpha
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
}
}
}
}
}