Eric Bruneton's OceanLightingFFT demo adapted for Castor3D