Depending on what you call "semi-transparent"...

"Semi-transparent" TGA images don't seem to work as such in software
mode. For isntance, if you create an alpha chanel in Photoshop that's a
gradient, so that the image fades out gracefully to the background, it
will work in GL but not in software mode. In software mode, if the alpha
is <128 it's transparent and >=128 it's solid (or is it the other way
around); there's no in between.

When you refer to "semi-transparent", I assume you mean like the
"indexalpha" option there is for sprites, similar to what I believe Day
of Defeat does. When you do that in Photoshop, make sure your alpha
channels are SOLID white and SOLID black.

Tnx & Rgds...
David "Nighthawk" Flor ( [EMAIL PROTECTED] )

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Frazee
Sent: Sunday, May 05, 2002 11:15 AM
To: [EMAIL PROTECTED]
Subject: [hlcoders] Semi-transparent TGAs in VGUI?


This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
I am trying to write an inventory with a semi transparent image in the
background that shows the black for completely transparent. So far,
though, I have been unsuccessful (with the background). The idea is to
make it blend in with the rest of the semi-transparent hud. How do I do
that?
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to