Files
JJBB/Assets/BuiltinAssets/Shader/DefaultResourcesExtra/Mobile/Mobile-Particle-Alpha-VertexLit.shader

28 lines
680 B
Plaintext
Raw Normal View History

2024-08-23 15:49:34 +08:00
// Simplified VertexLit Blended Particle shader. Differences from regular VertexLit Blended Particle one:
// - no AlphaTest
// - no ColorMask
Shader "Mobile/Particles/VertexLit Blended" {
Properties {
_EmisColor ("Emissive Color", Color) = (.2,.2,.2,0)
_MainTex ("Particle Texture", 2D) = "white" {}
}
Category {
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Plane" }
Blend SrcAlpha OneMinusSrcAlpha
Cull Off ZWrite Off Fog { Color (0,0,0,0) }
Lighting On
Material { Emission [_EmisColor] }
ColorMaterial AmbientAndDiffuse
SubShader {
Pass {
SetTexture [_MainTex] {
combine texture * primary
}
}
}
}
}