Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. Shader "Outwipe/Cutout/Double" {
  2. Properties
  3. {
  4. _MainTex ("Base (RGB) Transparency (A)", 2D) = "" {}
  5. _Hover ("Base (RGB) Transparency (A)", 2D) = "" {}
  6. _Cutoff ("Alpha cutoff", Range (0,1)) = 0.5
  7. }
  8. SubShader
  9. {
  10. Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
  11. Blend SrcAlpha One
  12.  
  13. Pass {
  14. AlphaTest Greater [_Cutoff]
  15. Lighting Off
  16.  
  17. SetTexture [_MainTex] {
  18. combine texture
  19. }
  20. }
  21.  
  22. Pass {
  23. SetTexture [_Hover] {
  24. combine texture
  25. }
  26. }
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement