Shaders for Game Programmers and Artists代码实现Chapter_0402

前一篇中提到本书中用到的模型为Microsoft DirectX SDK (March 2009)/Samples/Media/misc目录下的teapot.x,在写第二个例子是发现dx提供的模型中没有纹理坐标,所以此处的模型改为RenderMonkey自带的模型,不过RenderMonkey自带的模型为.3ds格式的,需要用3DMax将其转化为.x。 #include <d3dx9.h> //-
相关文章
相关标签/搜索