Jump to content
  • Advertisement

Archived

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

PsychoApoc

Please Help with palette

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

Erg I have to figure out how to do use Palettes under Direct3d 8, I have a texture loaded sepcefied it as D3DFMT_A8P8, and gotten the PALETTEENTRY structure back, but no changes on the structure affect the colors at all when the texture is drawn... please help me out here people.

Share this post


Link to post
Share on other sites
Advertisement
You''ll need to call IDirect3DDevice8::SetPaletteEntries() to make sure D3D and the hardware updates its internal palette.

And also check the caps to ensure your driver/card combination actually supports palettised textures!.

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!