Advertisement

8-bit Alphablit

Started by January 08, 2000 03:14 PM
3 comments, last by Dragun 25 years, 2 months ago
Is this possible?
I don''t know of any API that would support that happily. It''s possible to create 8-bit images with alpha channels though....
Advertisement
There is a 8bit Alpha routine described in the DirextX FAQ at http://www.microsoft.com/directx

Hope it helps
As I said, I don''t know of any API that would support that happily.

Seriously, if you want to use the algorithm they describe in the FAQ you have to choose your palette even more carefully than normal. If you can deal with re-generating your palette every so often, you might consider leaving 20 or so color indices free to assign to blended colors.
There''s a tutorial at flipcode on this.

http://www.flipcode.com/tutorials/tut_transmaps.shtml

Regards

Starfall

This topic is closed to new replies.

Advertisement