Archived

This topic is now archived and is closed to further replies.

Transparency Types

This topic is 5650 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys. This is just a general question for my future reference. What type of transparency: >Blending >TGA type Alpha channal >Masking is first mostly used in the games industry, best looking, and the fastest? This is all just to make part of a image completely transparant. EG: the image of a letter, the background is see-through. thx, -J

Share this post


Link to post
Share on other sites
all those are the same thing when it actually comes down to doing it in a game

blending - you will have alpha at 1 for all pixels you want to display and at 0 for all pixels you want to hide...then draw

TGA type Alpha channel - you will have alpha at 1 for all pixels you want to display and at 0 for all pixels you want to hide...then draw

masking - you will have alpha at 1 for all pixels you want to display and at 0 for all pixels you want to hide...then draw


but the difference is how you tell the game what the alpha is for the pixels

in blending and masking - you will like have one color be designated as transparent so whenever the game sees that color it will give it alpha of 0 and all other colors get alpha of 1

TGA type Alpha channel - in the art program that you manipulate the TGA files, you will be able to set the alpha value of each pixel manually, so it wont be a color designation like blanding/masking, but it will take the actual alpha channel from the file to determine the alpha value of each pixel.
you can also do the color designation for this too but these is no point since you can get the alpha from the file itself

"I pity the fool, thug, or soul who tries to take over the world, then goes home crying to his momma."
- Mr. T

Share this post


Link to post
Share on other sites