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??
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.
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
Moe''s site
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement