• Advertisement

Archived

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

DX9 error when skinning ???

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

When I try skinning by vertexshader I have to use (D3DFVF_XYZB1 | D3DFVF_LASTBETA_D3DCOLOR) as VFV and it works well. When I use (D3DFVF_XYZB2 | D3DFVF_LASTBETA_D3DCOLOR) it won´t work, and i get a dx9 error on a geforce4(D3DFVF_LASTBETA_UBYTE4 is not support by device) and it will be handelt as UBYTE4 in the vertexshader. Then i checked the dx9 skinning sample and it has the same error on hardwarevertex transform(HW mode is disabled only mixed mode can be used) Had someone the same error or a fix for it ??

Share this post


Link to post
Share on other sites
Advertisement
I have found a way, i don´t use SetVFV anymore. When I use SetVertexDeclaration it works fine.

Share this post


Link to post
Share on other sites

  • Advertisement