Guest User

Untitled

a guest
Dec 11th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. // Unlit alpha-blended shader.
  2. // - no lighting
  3. // - no lightmap support
  4. // - no per-material color
  5.  
  6. Shader "Unlit/Transparent" {
  7. Properties {
  8. _MainTex ("Base (RGB) Trans (A)", 2D) = "white" {}
  9. }
  10.  
  11. SubShader {
  12. Tags {"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"}
  13. LOD 100
  14.  
  15. ZWrite Off
  16. Blend SrcAlpha OneMinusSrcAlpha
  17.  
  18. Pass {
  19. Lighting Off
  20. SetTexture [_MainTex] { combine texture }
  21. }
  22. }
  23. }
Add Comment
Please, Sign In to add comment