I Desktop have used ocean postprocessing & heightmap terrains to create a scene of sunset. For mobile, I have used Perlin Noise to create the ocean because of low frame rates with the shader. Use
Did you use fast fourier transform for the ocean?
Runs pretty slow on desktop (not even fullscreen), I wonder whether it’s because of physics?
Can you share the code for the ocean shader and its implementation in Babylon? Would love to play with it. Should definitely be part of the Babylon shader library!
// Create ocean post-process
var oceanPostProcess = new BABYLON.OceanPostProcess("Ocean", camera);
But I found that this shader is not that smooth especially on Mobile devices. So I have used time-dependent 2D Perlin noise to mimic ocean waves for mobile devices.