Advertisement
Guest User

Untitled

a guest
Nov 19th, 2010
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. Shader "UITexture" {
  2. Properties {
  3. _MainTex("Alpha Blended (RGBA) ", 2D) = "white" {}
  4. } SubShader {
  5. Pass {
  6. CGPROGRAM
  7. #pragma fragment frag
  8. float4 frag(float4 srcPos : VPOS) : COLOR {
  9. return float4(1.0, 0.0, 0.0, 0.5);
  10. }
  11. ENDCG
  12.  
  13. Blend SrcAlpha OneMinusSrcAlpha
  14. ZWrite Off
  15. Cull Off
  16. Fog { Mode Off }
  17. BindChannels {
  18. Bind "vertex", vertex
  19. Bind "texcoord", texcoord
  20. }
  21. SetTexture [_MainTex] {}
  22. }
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement