Advertisement
Guest User

3D Text Shader

a guest
Nov 11th, 2014
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. Shader "GUI/3D Text Shader"
  2. {
  3. Properties
  4. {
  5. _MainTex ("Font Texture", 2D) = "white" {}
  6. }
  7.  
  8. SubShader
  9. {
  10. Tags
  11. {
  12. "Queue" = "Transparent"
  13. "IgnoreProjector" = "True"
  14. "RenderType" = "Transparent"
  15. }
  16. BindChannels { Bind "Color", color }
  17. Lighting Off
  18. Cull Off
  19. ZWrite Off
  20. Fog { Mode Off }
  21. Blend SrcAlpha OneMinusSrcAlpha
  22. Pass
  23. {
  24. SetTexture [_MainTex]
  25. {
  26. combine primary, texture
  27. }
  28. }
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement