• Advertisement

Archived

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

D3DFVF

This topic is 5778 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
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

  • Advertisement