DirectX 9 高级教程 C++
我不需要谈论 fvf 或如何绘制三角形的教程。我需要一些关于网格着色等高级内容的免费教程。
I don't need tutorials talking about fvf or how to draw a triangle. I need some free tutorials that are about advanced things like meshes shadering.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我见过的关于网格着色器的优秀教程并不多,但如果您同时了解着色器和网格,那么了解自己并不难。
如果我正确理解“网格着色器”的含义(猜测应用于网格的着色器,我称之为材质着色器),那么您只需使用 D3DXEffect 内容并在绘制网格之前应用着色器即可。
如果您想了解着色器,有很多书籍涵盖了几乎所有方面,适用于所有不同的语言和系统。奇怪的是,很难找到一个简单的教程,但对于更复杂的教程,我会想到 GPU Gems 系列。
There aren't too many good tutorials I've seen on mesh shaders, but it's not too hard to figure out yourself if you understand both shaders and meshes.
If I understand what you mean by "mesh shadering" properly (guessing shaders applied to meshes, material shaders I call them), then you simply have to use the D3DXEffect stuff and apply the shader before drawing the mesh.
IF you're trying to understand shaders, there are plenty of books around that cover almost every aspect, for all different languages and systems. It's oddly hard to find a simple tutorial, but for anything more complex, the GPU Gems series comes to mind.