Fast sweep algorithm for generating a shadow boundary heightmap from a source heightmap.