Volumetric fog   redo

Had to redo this pull, I included the opengl stuff.

Someone needs to test the opengl stuff.