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.