improved terrain smoothing;
fixed some materials