rewrite Terrain renderer