• Advertisement
Sign in to follow this  

SetFVF

This topic is 4461 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

Hey all, Quick question regarding the SetFVF() function and the D3DFVF flags. I'm currently trying to integrate a shader I wrote in that has the following vertex input structure: struct VS_IN { float4 Position : POSITION; // in object space float2 TexCoord : TEXCOORD0; float3 Tangent : TEXCOORD1; float3 Binormal : TEXCOORD2; float3 Normal : NORMAL; }; I'm not quite sure what flags to set in SetFVF() to indicate that there is a tangent and binormal to the vertex included in this structure. So far, I've got ( D3DFVF_XYZW | D3DFVF_TEX1 | D3DFVF_NORMAL ). Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement