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


convert RGB to DWORD

Recommended Posts

I am including the diffuse color as part of my FVF, but given an RGB value, how do I use that as a DWORD? Is there a built-in function in DX8 that does this, or will I need to make my own bit shifting macro to do this? Thanks.

Share this post

Link to post
Share on other sites