The way I developed the animated ocean effect in Wheeler’s Treasure is something I’ve been wanting to share for a long time now. It ended up being a very small background effect in the final game, but it’s something I’ve always been proud of.
I made this video overview of how it works (best viewed in HD).
I painted a set of 4×4 ocean tiles that were tileable spatially (from one tile to any other tile), and temporally (through the horizontally adjacent neighbours). This allowed me to create a 3D ocean grid with a random texture tile in each grid cell. Each cell was then animated forwards in time from its starting frame. All tiles were guaranteed to match up with all neighbouring cells due to the arbitrary tiling nature of the texture.
I’ve included the texture below, feel free to use it however you like.











