Guest User

Untitled

a guest
Dec 12th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. Shader "MW/Unlit/Tinted Alpha Blend"
  2. {
  3.  
  4. Properties
  5. {
  6. _Color ("Color Tint (A = Opacity)", Color) = (1,1,1,1)
  7. _MainTex ("Texture (A = Transparency)", 2D) = "" {}
  8. }
  9.  
  10. SubShader
  11. {
  12. Tags {Queue = Transparent}
  13. ZWrite Off
  14. Blend SrcAlpha OneMinusSrcAlpha
  15. Pass
  16. {
  17. SetTexture[_MainTex] {Combine texture * constant ConstantColor[_Color]}
  18. }
  19. }
  20.  
  21. }
Add Comment
Please, Sign In to add comment