| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- 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
- }
- }
- }
- }
- }
|