Fog, transparency and scissors

A friend of mine asked me some time ago to help him make a project he was preparing for the computer class he is teaching, a little more interesting. The project was a small flight simulator and, in particular the fluid dynamic calculations involved. So we came up with a list of visual effects to make the resulting program a little more interesting. Here are some guidelines about how to implement those effects in your games.

Fog