| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- Shader "mask shader"
-
- {
-
- Properties
-
- {
-
- _MainTex ("Base (RGB)", 2D) = "white" {}
-
- _Mask ("Mask", 2D) = "white" {}
-
-
- }
-
- SubShader
-
- {
-
- Tags {"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"}
-
- Lighting Off
-
- ZWrite Off
-
- Blend SrcAlpha OneMinusSrcAlpha
-
-
- Pass
-
- {
-
- SetTexture [_Mask] {combine texture}
-
- SetTexture [_MainTex] {combine texture, previous}
-
- }
-
- }
-
- }
|