123456789101112131415161718192021222324252627 |
- Shader "UnlitAlpha"
- {
- Properties
- {
- _Color ("Main Color", Color) = (1,1,1,1)
- _MainTex ("Base (RGB) Trans. (Alpha)", 2D) = "white" { }
- }
- Category
- {
- ZWrite On
- Alphatest Greater 0.5
- Cull Off
- SubShader
- {
- Pass
- {
- Lighting Off
- SetTexture [_MainTex]
- {
- constantColor [_Color]
- Combine texture * constant, texture * constant
- }
- }
- }
- }
- }
|