Jump to content
  • Advertisement
Sign in to follow this  
cskelton

Help! D3D9 Shader problem

This topic is 3982 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, I'm trying to pass bone weights as one of my vertex attributes for animation. I have also successfully passed bone indices as UBYTE4's, but when I try to do the same for the weights, I get the following errors: Direct3D9: Decl Validator: X290: (Element Error) (Decl Element [3]) Declaration can't map to fixed function FVF because the type for this element is unsupported. Direct3D9: Decl Validator: X249: (Element Error) (Decl Element [3]) Declaration can't map to fixed function FVF because blendweight must use D3DDECLTYPE_FLOAT1/2/3/4. Does anyone have any idea why I'm getting these? I know that Bone Weights can be pass as unsigned bytes, because i've looked at code that does it. Unfortunately, I can't seem to find a difference between my code and there's, so it's a mystery to me. Any help would be appreciated. Thanks in Advance, c

Share this post


Link to post
Share on other sites
Advertisement
wow...I'm really slipping on the proofreading...sorry about all that

Hey,

I'm trying to pass bone weights as one of my vertex attributes for animation. I have also successfully passed bone indices as UBYTE4's, but when I try to do the same for the weights, I get the following errors:

Direct3D9: Decl Validator: X290: (Element Error) (Decl Element [3]) Declaration can't map to fixed function FVF because the type for this element is unsupported.

Direct3D9: Decl Validator: X249: (Element Error) (Decl Element [3]) Declaration can't map to fixed function FVF because blendweight must use D3DDECLTYPE_FLOAT1/2/3/4.

Does anyone have any idea why I'm getting these? I know that Bone Weights can be **passed** as unsigned bytes, because i've looked at code that does it. Unfortunately, I can't seem to find a difference between my code and **their's**, so it's a mystery to me. Any help would be appreciated.

Thanks in Advance,
c

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!