ro-webgl/Assets/Shaders/FX_Effect/Additive_ZTA.shader

43 lines
660 B
Plaintext
Raw Normal View History

2021-12-21 09:40:39 +08:00
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
}
}
}
}
}