Implements basic fog on terrain