摘要: DirectX9 中的着色器包括:Vertex shader 和 Pixel shader。首先学习顶点着色器VS,它替换了固定功能管线中的变换(Transformation)和光照(Lighting)阶段。 顶点声明: 1. 通过 D3DVERTEXELEMENT9 结构的数据描述顶点 2. 创建 阅读全文
posted @ 2018-07-26 09:35 ItalySue 阅读(939) 评论(0) 推荐(0) 编辑