摘要:        
Why Bothers? 为什么已经有ShaderForge这种可视化Shader编辑器、为什么Asset Store已经有那么多炫酷的Shader组件可下载,还是有必要学些Shader的编写? 2014-0718-1607-11-33.png 2014-0718-1607-11-33.png 因为    阅读全文
posted @ 2017-06-08 20:46
oayx
阅读(2984)
评论(0)
推荐(1)
        
            
        
        
摘要:        
内置变量都在UnityShaderVariables.cginc文件中声明 变换矩阵 All these matrices arefloat4x4 type. Name Value UNITY_MATRIX_MVP Current model * view * projection matrix.     阅读全文
posted @ 2017-06-08 20:23
oayx
阅读(1807)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Unity provides a handful of builtin values for your shaders: things like current object's transformation matrices, time etc. Unity为你在编写shader是提供了少量的内置    阅读全文
posted @ 2017-06-08 20:11
oayx
阅读(5579)
评论(0)
推荐(0)
        
 
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号