21 lines
527 B
Plaintext
21 lines
527 B
Plaintext
Shader "Particles/VertexLit Blended" {
|
|
Properties {
|
|
_EmisColor ("Emissive Color", Color) = (.2,.2,.2,0)
|
|
_MainTex ("Particle Texture", 2D) = "white" {}
|
|
}
|
|
|
|
SubShader {
|
|
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Plane" }
|
|
Tags { "LightMode" = "Vertex" }
|
|
Cull Off
|
|
Lighting On
|
|
Material { Emission [_EmisColor] }
|
|
ColorMaterial AmbientAndDiffuse
|
|
ZWrite Off
|
|
ColorMask RGB
|
|
Blend SrcAlpha OneMinusSrcAlpha
|
|
Pass {
|
|
SetTexture [_MainTex] { combine primary * texture }
|
|
}
|
|
}
|
|
} |