摘要: 阅读全文
posted @ 2020-07-30 11:01 西湖盗月 阅读(766) 评论(0) 推荐(0) 编辑
摘要: Linear space lighting is a term that game developers are becoming ever more used to hearing as games reach for the next level of realism with physical 阅读全文
posted @ 2020-06-11 11:38 西湖盗月 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 流水线: 1.应用阶段:(CPU)输出渲染图元,粗粒度剔除等 比如完全不在相机范围内的需要剔除,文件系统的粒子系统实现就用到粗粒度剔除。 2.几何阶段:(GPU)把顶点坐标转换到屏幕空间,包含了模型空间 到世界空间 到观察空间(相机视角view) 到齐次裁剪空间(投影project2维空间,四维矩阵 阅读全文
posted @ 2020-06-05 16:27 西湖盗月 阅读(1892) 评论(0) 推荐(0) 编辑
摘要: E.1 Mathematical Functions Table E-1 lists the mathematical functions that the Cg Standard Library provides. The table includes functions useful for t 阅读全文
posted @ 2020-06-02 14:28 西湖盗月 阅读(241) 评论(0) 推荐(0) 编辑
摘要: NameDescription abs Absolute value (per component). acos Returns the arccosine of each component of x. all Test if all components of x are nonzero. Al 阅读全文
posted @ 2020-05-28 17:21 西湖盗月 阅读(671) 评论(0) 推荐(0) 编辑
摘要: public static Texture2D TextureCut(Texture2D tex,float ratio = 0.8f) { if (tex == null) return null; if (ratio <= 0) return tex; Color color; int widt 阅读全文
posted @ 2020-04-13 17:28 西湖盗月 阅读(3005) 评论(0) 推荐(0) 编辑
摘要: 解码: 阅读全文
posted @ 2019-12-16 18:00 西湖盗月 阅读(793) 评论(0) 推荐(0) 编辑
摘要: 链接: https://pan.baidu.com/s/1Vk6UvMHqr12POtJvzNDUvQ 提取码: cbfy 阅读全文
posted @ 2019-12-16 17:12 西湖盗月 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 批量设置 批量清空 递归方法 阅读全文
posted @ 2019-12-13 14:40 西湖盗月 阅读(667) 评论(0) 推荐(0) 编辑
摘要: Shader "Custom/ChromaKey" { Properties { _MainTex ("Base (RGB)", 2D) = "white" {} _thresh ("Threshold", Range (0, 16)) = 0.8 _slope ("Slope", Range (0, 1)) = 0.2 ... 阅读全文
posted @ 2017-12-15 11:15 西湖盗月 阅读(894) 评论(0) 推荐(0) 编辑