Fog

You may need to read the previous articles about 3D and varyings in order to understand this one.

This article is a work-in-progress. In the meantime, consider reading these other articles about the same topic:

The next article is about transparency.