Unity Shader 包含内置文件
例如:
CGPROGRAM
#include "UnityCG.cginc"
ENDCG
内置文件位置:
Unity安装文件夹\Editor\Data\CGIncludes
//或从https://unity.cn/releases,点击后面的"release notes"按钮,下载Builtin Shaders
例如:
CGPROGRAM
#include "UnityCG.cginc"
ENDCG
内置文件位置:
Unity安装文件夹\Editor\Data\CGIncludes
//或从https://unity.cn/releases,点击后面的"release notes"按钮,下载Builtin Shaders