I’m thinking about how do I go from rendering rectangular tiles for the mountain to a circular (cylinder). And it seems to much more complicated the more I think about it. First off, because each mountain is a difrerent size, I chose to not resize the tiles (512x512) and instead arrange them into a bed of 3D tiles.
The maths for the rectangular tiles is fairly easy, but if I use a cylinder, this strategy will get complicated.
First off, I would need to slice the cylinder into several pieces, that means I can’t use the CylinderGeometry directly, I’d need to figure out the geometry to create a cylinder segment. I can probably do this by some maths around circle and calculate the vertices along the edge of the circle, then slice them up using some rectangular geometry.
The technique I used to modify the edge vertices using the vertex shader would have to map the linear edge of the cylinder to points on the circumference of the circle. That is do-able with some more maths.