ss3d: fixed height fog, added basic terrain loading system