The surface is a spherical surface. It is mapped with two textures : the texture of the background and the sea bottom texture. For each vertex of the surface, we use GLSL functions reflect and refract to compute the UV mapping of the textures.

The lighting is the superposition of a specular lighting and a lighting generated with a noise which depends on the normal vector of the surface. The movement of the surface is a superposition of 10 sinusoid waves. The amplitudes and the velocities of the waves are bounded to the wavelenghts by empirical laws.

Xavier Bourry - www.spacegoo.com / xavier _at_ spacegoo.com