CG(C for graphics)
赖张殷
这个作者很懒,什么都没留下…
展开
-
unity shader 之 CG(C for graphics) 入门(1)——CG基本知识
参考链接:http://http.developer.nvidia.com/Cg/Cg_language.html原创 2017-02-07 11:19:15 · 2011 阅读 · 0 评论 -
unity shader 之 CG(C for graphics) 入门(2)——CG的Swizzle操作
参考资料: http://http.developer.nvidia.com/Cg/Cg_language.html 从上面的链接中找到Swizzle的操作介绍如下: There is a built-in swizzle operator: .xyzw or .rgba for vectors. This operator allows the components of a原创 2017-02-07 21:17:16 · 1223 阅读 · 0 评论