单色shader

Shader "ChrisShader/OneColorShader"
{  
    Properties 
        {  
        _Color ("color", Color) = (0,0,0,0)  
    }  
    SubShader
        {  
        Pass  
        {  
            Color[_Color]  
        }  
    }   
}  

纹理shader

Properties {  
        _MainTex ("Base (RGB)", 2D) = "white" {}  
    }  
    SubShader {  

        Pass  
        {  
            SetTexture[_MainTex]{combine texture}  
        }  
    }   
    FallBack "Diffuse"  
}