06 2017 档案
摘要: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
阅读全文
摘要:Why Bothers? 为什么已经有ShaderForge这种可视化Shader编辑器、为什么Asset Store已经有那么多炫酷的Shader组件可下载,还是有必要学些Shader的编写? 2014-0718-1607-11-33.png 2014-0718-1607-11-33.png 因为
阅读全文
摘要:内置变量都在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是提供了少量的内置
阅读全文