summaryrefslogtreecommitdiff
path: root/Assets/Art/Vfx/StylizedProjectilePack1/shader/Mobile-Particle-Add-ZTestAlways.shader
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-08-31 19:07:21 +0800
committerchai <chaifix@163.com>2021-08-31 19:07:21 +0800
commitffd1d5af496e0a0eff343b27c4f0f965bbbf79eb (patch)
treec5a8ae2116040ce8c483454b2e82093f247db341 /Assets/Art/Vfx/StylizedProjectilePack1/shader/Mobile-Particle-Add-ZTestAlways.shader
parent476abf41a7357db0dd870f0d221f1a26481ab2bf (diff)
*projectile
Diffstat (limited to 'Assets/Art/Vfx/StylizedProjectilePack1/shader/Mobile-Particle-Add-ZTestAlways.shader')
-rw-r--r--Assets/Art/Vfx/StylizedProjectilePack1/shader/Mobile-Particle-Add-ZTestAlways.shader31
1 files changed, 31 insertions, 0 deletions
diff --git a/Assets/Art/Vfx/StylizedProjectilePack1/shader/Mobile-Particle-Add-ZTestAlways.shader b/Assets/Art/Vfx/StylizedProjectilePack1/shader/Mobile-Particle-Add-ZTestAlways.shader
new file mode 100644
index 00000000..2f93d93c
--- /dev/null
+++ b/Assets/Art/Vfx/StylizedProjectilePack1/shader/Mobile-Particle-Add-ZTestAlways.shader
@@ -0,0 +1,31 @@
+// 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
+ }
+ }
+ }
+}
+} \ No newline at end of file