8-bit Alphablit
I don''t know of any API that would support that happily. It''s possible to create 8-bit images with alpha channels though....
There is a 8bit Alpha routine described in the DirextX FAQ at http://www.microsoft.com/directx
Hope it helps
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.
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
http://www.flipcode.com/tutorials/tut_transmaps.shtml
Regards
Starfall
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement