摘要:
Unity allows you to set the level of graphical quality it will attempt to render. Generally speaking, quality comes at the expense of framerate and so 阅读全文
摘要:
内置变量都在UnityShaderVariables.cginc文件中声明 变换矩阵 All these matrices arefloat4x4 type. Name Value UNITY_MATRIX_MVP Current model * view * projection matrix. 阅读全文
摘要:
Unity provides a handful of builtin values for your shaders: things like current object's transformation matrices, time etc. Unity为你在编写shader是提供了少量的内置 阅读全文