Out Of Date

Warning: this content is old and may be incorrect; it needs to be updated.

Transparency

Additive Transparency

Transparency.gif

flames.gif

In Engine

Map

Images by Eric Chadwick

The flames on this burning bed are using additive transparency to keep the colors "hot."

See additive color model.

Alpha Transparency

crowd.gif

A texture using alpha transparency in RT3D.
Image by Eric Chadwick

crowd_rgb.gif

The RGB part of the texture file.
Image by Eric Chadwick

alpha.gif

The alpha channel of the texture file, in 8bit (256 colors). The alpha can either be a channel within the texture file, or it can be its own texture. Depends on what your engine requires.
Image by Eric Chadwick

Alpha Bit Depths

alpha_8bit.gif

A closeup of the 8bit (256 colors) alpha channel. This is the highest bit depth used for alpha channels, because you can get a full range of grays with 256 colors. If we had a higher bit depth like 16bit (65535 colors), you would see the alpha looking a little bit smoother, but because texture filtering is so common now, it ends up softening your 8bit alpha anyway, and it looks fine.
Image by Eric Chadwick

alpha_4bit.gif

A closeup of a 4bit (16 colors) version of the alpha channel. Still a lot of detail, but starting to break up some around the edges. This is a much smaller file than the 8bit alpha, which is good because it takes up much less memory. A good trade off.
Image by Eric Chadwick

alpha_1bit.gif

A closeup of a 1bit (2 colors) version of the alpha channel. 1bit means only black and white, so there's no anti-aliasing. This is a very small file-- the visual quality suffers, but it saves a lot of memory. Not worth the degradation unless you really need the memory.
Image by Eric Chadwick

Subtractive Transparency

subtractiveT.gif

xray_hand.gif

In Engine

Map

Images by Eric Chadwick

The x-rays on this light-table use subtractive transparency to make things under them darker, the way real x-rays do. The subtractive method isn't used all that often, so if you need it you should ask your programmer(s) if they can add it as a specific feature of the engine.

See subtractive color model.


CategoryGlossary

Transparency (last edited 2010-08-11 15:42:00 by BrandonPhoenix)