AlphaBlended.shader 557 B

123456789101112131415161718192021222324252627282930313233
  1. Shader "YXJ/Particles/Front/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. ZTest Off
  13. BindChannels
  14. {
  15. Bind "Color", color
  16. Bind "Vertex", vertex
  17. Bind "TexCoord", texcoord
  18. }
  19. SubShader
  20. {
  21. Pass
  22. {
  23. SetTexture[_MainTex]
  24. {
  25. combine texture * primary
  26. }
  27. }
  28. }
  29. }
  30. }