Brunetons Ocean Save

Brunetons ocean in Unity

Project README

Brunetons-Ocean

This is a ocean Ive ported to Unity and is based Eric Brunetons ocean renderer.

The focus of the project is the BRDF lighting model which looks very nice and is coupled with his previous work on atmospheric scattering.

You can find some settings on the ocean game object in the scene. You can change the wind speed, wave decay factor, wave amplitude, and the Fourier transform size. These settings are only used on start up however and will have no effect during run time. If you want to change them during run time you will need to regenerate the wave spectrum. Its only done on start up in this project. If your looking for what setting will make the waves bigger its the wind speed.

Brunetons Ocean

In Erics project he did use a projected grid for the ocean mesh but the implementation was not really robust enough to be practical. I have used a different implementation based on this paper. I have left it as simple as possible so it will work but you may see the grid pull away from the screen if the waves are to large.

Below is a image of the projected grid. You can see the mesh is projected from the camera and its shape matches the camera frustum.

Projected Grid

List of water projects.

Ceto
Phillips ocean.
Brunetons Ocean.
Tiled-directional flow.
PBD Fluid sim.

Open Source Agenda is not affiliated with "Brunetons Ocean" Project. README Source: Scrawk/Brunetons-Ocean
Stars
128
Open Issues
1
Last Commit
2 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating