Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Shader "Outwipe/Cutout/Double" {
- Properties
- {
- _MainTex ("Base (RGB) Transparency (A)", 2D) = "" {}
- _Hover ("Base (RGB) Transparency (A)", 2D) = "" {}
- _Cutoff ("Alpha cutoff", Range (0,1)) = 0.5
- }
- SubShader
- {
- Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
- Blend SrcAlpha One
- Pass {
- AlphaTest Greater [_Cutoff]
- Lighting Off
- SetTexture [_MainTex] {
- combine texture
- }
- }
- Pass {
- SetTexture [_Hover] {
- combine texture
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement