Unity ShaderLab 标准结构

        
Shader "Name"
{
        Properties
        {
        
        }
        SubShader
        {
           Tags{....}
           Pass
          {
               Name "Name"
               Render Setup
               Tags{...}
                //Code
             
           }
        }
        FallBack "ShaderName"
        CustomEditor "MyCustomEditor"
}            

 

posted @ 2018-05-03 15:58  BaoqingWu  阅读(231)  评论(0编辑  收藏  举报