43 lines
660 B
Plaintext
43 lines
660 B
Plaintext
Shader "MoleGame/Particles/Additive_ZTA"
|
|
{
|
|
Properties
|
|
{
|
|
_Color ("Main Color", Color) = (0.5,0.5,0.5,0.5)
|
|
_MainTex ("Particle Texture", 2D) = "white" {}
|
|
}
|
|
|
|
Category
|
|
{
|
|
Tags { "Queue"="Transparent"}
|
|
Blend SrcAlpha One
|
|
Cull 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]
|
|
{
|
|
constantColor [_Color]
|
|
combine constant * primary
|
|
}
|
|
SetTexture [_MainTex]
|
|
{
|
|
combine texture * previous double
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|