Smooth-shaded Alpha

When OpenGL is filling in the pixels for a polygon, it treats alpha just like any other color component.

That is, if you specify different alpha values at each vertex, the alpha will be smoothly interpolated across the face of the polygon.

Example code: smoothAlpha.c



next