From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: [Allegro]Translucent blits Date: Fri, 10 Apr 1998 10:48:10 +0100 Organization: None Message-ID: References: <352d6ca9 DOT 4966112 AT news DOT compusmart DOT ab DOT ca> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 15 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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