Jump to content
  • Advertisement
Sign in to follow this  
Raeldor

No floating point color in fixed function pipeline?

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

Hi all, I am just looking at the FVF and the only color option is D3DDECLTYPE_D3DCOLOR, which I believe is a DWORD. Does this mean there is no support for floating point color in the fixed function pipeline? Thanks

Share this post


Link to post
Share on other sites
Advertisement
hmm, D3DDECLTYPE_* is for a vertex declaration which typically goes with the programmable pipeline.

If you want to pass floating point colours through, try using D3DDECLTYPE_FLOAT4 and a usage of D3DDECLUSAGE_COLOR. I've not tried it myself, but it should work fine with shaders - I doubt it will with the FF though.

Anyway - what are you trying to do with HDRI/FP texturing in the FF?

hth
Jack

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!