chushizhaoyuanhou.shader 437 B

123456789101112131415161718
  1. Shader "Custom/chushizhaoyuanhou" {
  2. Properties {
  3. _Color ("Main Color", Color) = (1,1,1,1)
  4. _MainTex ("Base (RGB) Trans (A)", 2D) = "" {}
  5. }
  6. SubShader {
  7. Pass {
  8. Cull Off
  9. Blend SrcAlpha OneMinusSrcAlpha
  10. Alphatest Greater 0
  11. SetTexture [_MainTex] {
  12. constantColor [_Color]
  13. combine texture * constant }
  14. }
  15. }
  16. }