Mail Archives: djgpp/1998/04/10/09:32:23
Demandred writes:
>Is it worthwhile to create various color tables for various alpha values in
>Allegro, or is there an easier way?
In a truecolor mode you can vary the alpha on the fly, but in 256 color
resolutions you need a table for each blending mode. It is possible to
get several different alpha levels by combining only two tables and
drawing the image multiple times (see the AATEXT addon for an example),
but this still only gives a limited number of levels and it is slower
than using a dedicated table for every alpha value.
--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Pigs use it for a tambourine" - Frank Zappa
- Raw text -