1234567891011121314151617181920212223242526272829303132 |
- Shader "ParticleCook/Transparent/Additive/Diffuse" {
- Properties {
- _TintColor ("Main Color", Color) = (1,1,1,1)
- _MainTex ("Particle Texture", 2D) = "white" {}
- }
- Category {
- Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
- Blend SrcAlpha One
- AlphaTest Greater .01
- ColorMask RGBA
- Cull Off Lighting Off ZWrite Off Fog { Color (0,0,0,0) }
- BindChannels {
- Bind "Color", color
- Bind "Vertex", vertex
- Bind "TexCoord", texcoord
- }
-
-
- SubShader {
- Pass {
- SetTexture [_MainTex] {
- constantColor [_TintColor]
- combine constant * primary
- }
- SetTexture [_MainTex] {
- combine texture * previous DOUBLE
- }
- }
- }
- }
- }
|