Shader "Custom ShaderName"
{ 自定义shader名字
Properties
{
_MainTexture("MainTexture", 2D) = "white" {}
自定义变量名 ( 监视面板上显示的名字 ,属性类型#不区分大小写# ) = 默认值
_Color("Main Color",Color) = (0,0,1,1)
}
FallBack "Diffuse"
}
{ 自定义shader名字
Properties
{
_MainTexture("MainTexture", 2D) = "white" {}
自定义变量名 ( 监视面板上显示的名字 ,属性类型#不区分大小写# ) = 默认值
_Color("Main Color",Color) = (0,0,1,1)
}
FallBack "Diffuse"
}