ParticleCook-Transparent-Additive-Diffuse.shader 671 B

1234567891011121314151617181920212223242526272829303132
  1. Shader "ParticleCook/Transparent/Additive/Diffuse" {
  2. Properties {
  3. _TintColor ("Main Color", Color) = (1,1,1,1)
  4. _MainTex ("Particle Texture", 2D) = "white" {}
  5. }
  6. Category {
  7. Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
  8. Blend SrcAlpha One
  9. AlphaTest Greater .01
  10. ColorMask RGBA
  11. Cull Off Lighting Off ZWrite Off Fog { Color (0,0,0,0) }
  12. BindChannels {
  13. Bind "Color", color
  14. Bind "Vertex", vertex
  15. Bind "TexCoord", texcoord
  16. }
  17. SubShader {
  18. Pass {
  19. SetTexture [_MainTex] {
  20. constantColor [_TintColor]
  21. combine constant * primary
  22. }
  23. SetTexture [_MainTex] {
  24. combine texture * previous DOUBLE
  25. }
  26. }
  27. }
  28. }
  29. }