Fog, terraing shader fix, mesh generation fix (x and y swapped), other
things.