Sign in to follow this  

SetFVF

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

This topic is 4388 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this