Archived

This topic is now archived and is closed to further replies.

gotG

D3DFVF

Recommended Posts

gotG    122
if i want to put geometry from a x-file loaded mesh with texture already in it into a userdefined vertex format do i need to include D3DFVF_TEX in the #define??

Share this post


Link to post
Share on other sites
Terren    122
If you are using the fixed-function pipeline and you want your mesh to be textured, then yes, you need to specify the D3DFVF_TEX flag, as long as you also specify space for texture coordinates in your user-defined format.

Share this post


Link to post
Share on other sites
Moe    1256
I suggest reading up in the SDK on the part about FVF flags. Its amazing how much you can do with flexible vertex formats!

Moe''s site

Share this post


Link to post
Share on other sites