Aha, found error that led to completely flat earth, but with elevation-dependent textures rendered: forgot to use the setter tile.level= which takes care of updating the tile polygon coords.
Try to get state from master branch to work in this one.