这里的GetGrayColor的材质函数算法 image.png 最终的生成法线 image.png 参考连接:https://zhuanlan.zhihu.com/p/36393052 以上都可以直接写在一个材质函数里。