Triton
Visual simulation library for ocean rendering.

Spray effects and breaking waves

Triton looks for sharp wave crests and automatically creates particle-based spray effects near the camera.

As the wind increases and the waves become higher, or as the choppiness is increased, the spray effects will become more pronounced.

These particle systems are highly optimized, but still come at a performance cost. If you'd like to disable the spray effects to maximize Triton's performance, just call Triton::Ocean::EnableSpray() to turn it on or off at runtime. To disable spray effects entirely, see the fft-enable-spray setting in the resources/Triton.config file.

Fine control over the appearance of the spray effects is available in Triton.config; see the "Spray Settings" section in that file to learn how to adjust the appearance and placement of the spray effects to your liking.

 All Classes Files Functions Variables Friends