DirectX 9 Palettes

Does anyone know how to use Palettes in DirectX 9 I can't find any information for it anywhere. If you want to post examples, I'm using VB, but I can convert C++ too.

Answer this question

DirectX 9 Palettes

  • orid64918

    Can you be a little more specific about what context you mean when using the word "palette".  What are you trying to do

  • KidneyGreentoad

    I really wouldn't bother with palette support. There are non-obvious speed hits if you use them wrong (and "wrong" varies from hardware to hardware!). And the most obvious problem is that a lot of hardware simply doesn't support paletted textures, so you're going to need a non-palette code path anyway. From what I remember, support for them is vanishing entirely in DX10.

    Yes, this is rather irritating - palettes still have some good uses. However, the hardware to support them turns out to be ferociously expensive to implement, so not many people put them on their video cards if they can avoid it.

  • DirectX 9 Palettes