Infinite ocean / Ocean Tiles?

Right now, Oceans / Water in Urho are mostly made with a plane. I’m trying to come up with a way to create an infinite ocean within the engine. So far, I have created 9 big planes: 1 at the center, where the player/camera is, and 8 around it. Whenever the player moves towards a certain area of the 9-tile-patch, I move the opposing tiles towards that direction, never deleting any tile, just shifting them and hoping the player does not notice.

Is this a good technique? What would you guys do in this situation?

2 Likes

Sounds good to me as long as the tile area are bigger than player view. I’d do the same

How does this differ from just using a big plane? I am working on a water shader that does not use render to texture.