I have made an algorithm for procedurally generating a 2D tile map in Unity.
The player can use the mouse to pan the view and look at the map.
My intention was that when the player reaches one of the sides of the map, he would simply see the other side as if he was going around the Earth so to speak.
The only way I have achieved this is by simply instantly setting the camera's position to the other side of the map when the player crosses one of the edges. The problem with this is that the player never actually sees the "border" connection continuously and that bothers me since I took the care to generate the map in such a way that connecting the east/west edges makes sense.
How can I achieve the desired effect?