Path: chuka.playstation.co.uk!news From: Mal Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Transparency Date: Fri, 27 Jun 1997 09:49:57 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 19 Message-ID: <33B37EB5.A17@interactive.sony.com> References: <01bc82d8$1bfacf60$4db113cc@nsantos> NNTP-Posting-Host: 194.203.13.10 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (Win95; I) Nelson Santos wrote: > > Regarding transparent colors: > > Maybe I missed something in the manuals but how do we display a sprite > where it's background color (normally color 0, black) is transparent? > Whenever I display sprites and they pass over each other, I see the black > unmasked background overlapping each other. > > Nelson. As you haven't described what your doing at present it's difficult to say what's wrong. I assume you've set the texture to have transparent for black (timtool and timutil both allow you to do this). Next you set the attributes field of the GsSprite structure, bit 30 switches on semi-transparency, and bits 28 and 29 the amount (although this will mean nothing for transparent background). Stuart