added Fog class and logic. not tested yet
merge fix
fog works now
Merge branch 'fog'