AlphaBlended.shader 539 B

1234567891011121314151617181920212223242526272829303132
  1. Shader "YXJ/Particles/AlphaBlended"
  2. {
  3. Properties
  4. {
  5. _MainTex("Particle Texture", 2D) = "white" {}
  6. }
  7. Category
  8. {
  9. Tags { "Queue" = "Transparent" "IgnoreProjector" = "True" "RenderType" = "Transparent" "PreviewType" = "Plane" }
  10. Blend SrcAlpha OneMinusSrcAlpha
  11. Cull Off Lighting Off ZWrite Off Fog { Mode Off }
  12. BindChannels
  13. {
  14. Bind "Color", color
  15. Bind "Vertex", vertex
  16. Bind "TexCoord", texcoord
  17. }
  18. SubShader
  19. {
  20. Pass
  21. {
  22. SetTexture[_MainTex]
  23. {
  24. combine texture * primary
  25. }
  26. }
  27. }
  28. }
  29. }