已经和官网文档上写的改成一模一样了,还是不行
![[泪]](/static/emoticons/u6cea.png)
#pragma surface surf Lambert finalcolor:mycolor
void mycolor (Input IN, SurfaceOutput o, inout fixed4 color)
{
color *= _ColorTint;
}
只要shader代码里面一加上这个所谓的final color modifier,就报编译失败,Shader error in 'Custum/myshader': syntax error at line XXX
这是啥情况啊?