Layout and shadow errors in terrain flattening?

Does this solve your question?