Creating a natural-looking ocean
To avoid texture repetitions, use irrational numbers when setting up the patch size of your spectral oceans. Texture repetition is not a common phenomenon we see in nature, so it will make your renders look very artificial. To avoid this, use numbers that don’t have a LCM (irrational numbers). Irrational numbers have no smallest number that can be written with integers, so you will have no repetitions occurring. In other words, use patch sizes that are numbers with a very high LCM. That way, you will avoid tiling artefacts.