Mini map for a spherical world

We needed a mini map for our spherical world based game.

We think we have got it sorted and interested if anyone has any comments.

We use the UV map of the world as the mini map and translated the 3d co-ordinates into 2d co-ordinates in much the same way as textures are mapped onto 3d objects (but in reverse).

The hard bit was mapping the yaw of the player as it does not make much sense in absolute terms while traversing a sphere.

https://.com/watch?v=UW3jrdajTIg

The video is set to private

Oopsy daisy

I’ve tried to convert my game to VR. The minimap looks so much better in 3d.