Check out http://www.ridgenet.net/~jslayton/Fu...ol4/index.html for a simple example of using a black and white land mask to generate terrain.