Page 1 of 1

Transparency

Posted: Sat Jul 15, 2006 10:11 am
by Alpha
How to you make an area of your texture transparent?

RE: Transparency

Posted: Sat Jul 15, 2006 10:16 am
by minilogoguy18
mess with the channels in photoshop, i believe black is opaque and white is transparent.

RE: Transparency

Posted: Sat Jul 15, 2006 11:48 am
by JabbaLovesLava
^ That's right, tho he forgot to mention that you need to create an alpha channel and save to 32 instead of 24.. Remeber that you wont be able to see that transparency in your model tho.

Posted: Sat Jul 15, 2006 11:53 am
by squipple
See this post:
http://www.gametoast.com/forums/viewtopic.php?t=5150

It's mostly about glow, but there's info in there about transparency in the edit flags dialog. You need to set that on the polygons you have your alpha channel texture on.

Re: RE: Transparency

Posted: Sat Jul 15, 2006 12:23 pm
by Teancum
minilogoguy18 wrote:mess with the channels in photoshop, i believe black is opaque and white is transparent.
Actually it's the inverse of that. :P

RE: Re: RE: Transparency

Posted: Sat Jul 15, 2006 1:36 pm
by Qdin
inverse = opposite? :o

RE: Re: RE: Transparency

Posted: Sat Jul 15, 2006 1:54 pm
by Teancum
Yes.

Re: RE: Re: RE: Transparency

Posted: Sat Jul 15, 2006 2:15 pm
by -_-
Teancum wrote:Yes.
It's a one-word post :O j/k Tean'. Does it actually matter what color it is? I've only done it a few times just by changing opacity on a layer to 0, and it works.

RE: Re: RE: Re: RE: Transparency

Posted: Sat Jul 15, 2006 10:31 pm
by JabbaLovesLava
Are you sure its the oposite? Today I did something in photoshop and it worked :/

RE: Re: RE: Re: RE: Transparency

Posted: Sat Jul 15, 2006 11:13 pm
by DooFi
Yep.
White = Fully transparent
Black = Opaque
Everything between = Semi-transparent (The darker, the more visible, of course)
BUT i think its just b/w by way of illustration, because the image just knows the levels of transparency as "1","2","3"..."254","255","256".

In most cases 256 (or was it 255?! not sure, hmm) grey levels are reserved for the alpha channel, so there are 256 different transparent nuances. Afaik you can even use the reserved bits for other stuff, though i've never attempted to do that lol. Probably you can add a bumpmap istead or lighting information or something. Don't know... And I've heard *.bmp or every other image format (likely except from .gif, lol) could possibly contain such a "hidden" channel, if you are content with less bits for color information in the "main part". Don't know how to split such a file up that way, though lol

with this in mind
see you, mates, gonna be on vacation until next sunday :)
DooFi

RE: Re: RE: Re: RE: Transparency

Posted: Sat Jul 15, 2006 11:49 pm
by Teancum
Everything I've done on Photoshop has White as Opaque, and black is totally transparent -- and I've been using it for a few years now.

Re: RE: Re: RE: Re: RE: Transparency

Posted: Sun Jul 16, 2006 1:10 am
by -_-
Teancum wrote:Everything I've done on Photoshop has White as Opaque, and black is totally transparent -- and I've been using it for a few years now.
Eh.. Now I'm confused.. is that a mistake, or is it really like that..

RE: Re: RE: Re: RE: Re: RE: Transparency

Posted: Tue Jul 18, 2006 10:21 am
by DooFi
whatever, probably theres a checkbox to 'invert' the transparency information or something... the most important is that it works actually...