Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Shader "MW/Unlit/Tinted Alpha Blend"
- {
- Properties
- {
- _Color ("Color Tint (A = Opacity)", Color) = (1,1,1,1)
- _MainTex ("Texture (A = Transparency)", 2D) = "" {}
- }
- SubShader
- {
- Tags {Queue = Transparent}
- ZWrite Off
- Blend SrcAlpha OneMinusSrcAlpha
- Pass
- {
- SetTexture[_MainTex] {Combine texture * constant ConstantColor[_Color]}
- }
- }
- }
Add Comment
Please, Sign In to add comment