> For the complete documentation index, see [llms.txt](https://docs.shadersource.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shadersource.io/assets-and-plugins/ocean-tool-2/tutorials/ocean-styles-colour-and-foam.md). Agents can also search and read this documentation through its [MCP server](https://docs.shadersource.io/~gitbook/mcp).

# Ocean Styles, Colour and Foam

Change how the water looks - the style, the sea state, a preset, the colour, the waves and the foam.

This tutorial walks through the controls that decide how your sea looks, in the order that works best: the big choices first, the detail last. Everything is on the **Simple** tab's **Sea** and **Surface** pages.

![The same water, six ways](https://2855220899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk51ACJUA5E3mZvLb9h%2Fuploads%2FlAXtjSO4m6V6fCDqYfEW%2Flook_hero.jpg?alt=media)

|                  |                                                                                                                                                      |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Time**         | About 15 minutes                                                                                                                                     |
| **You need**     | A level with an ocean - [Ocean and Shoreline](https://docs.shadersource.io/assets-and-plugins/ocean-tool-2/tutorials/ocean-and-shoreline.md), Part 1 |
| **You will use** | **Simple > Sea** and **Simple > Surface**                                                                                                            |

{% hint style="info" %}
Every row edits the ocean at once and can be undone. Sliders preview while you drag and make one undo step when you let go. A row's reset arrow puts it back to what the current style and sea state would give a new ocean.
{% endhint %}

## Part 1 - The big choices

{% stepper %}
{% step %}

### Choose the ocean style

At the top of any Simple page, open **Ocean Style** and pick one. The whole sea changes: its waves, its colour, its foam and its roughness.

Try **Open Sea**, then **Swell**, then **Stylized (FFT)** to see how far apart they are. [Ocean Styles](https://docs.shadersource.io/assets-and-plugins/ocean-tool-2/how-to-use/ocean-styles.md) has a picture of all ten.

![Open Sea, Swell and Stylized (FFT)](https://2855220899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk51ACJUA5E3mZvLb9h%2Fuploads%2FJNKUskkMeTl1CfVriiJZ%2Flook_styles.jpg?alt=media)
{% endstep %}

{% step %}

### Set the sea state

Drag **Beaufort** under **Sea State**. One slider drives the wave height, the amount of foam and the fine detail together.

| Force   | Name                      | What you see                                 |
| ------- | ------------------------- | -------------------------------------------- |
| 0 - 1   | Calm, light air           | A mirror, then ripples                       |
| 2 - 3   | Light and gentle breeze   | Small waves                                  |
| 4 - 5   | Moderate and fresh breeze | Moderate waves, the first foam on the crests |
| 6 - 7   | Strong breeze, near gale  | Large waves with whitecaps                   |
| 8 - 9   | Gale, strong gale         | High waves and streaks of foam               |
| 10 - 12 | Storm to hurricane        | Very high seas, white with foam              |

The line under the slider names the force and gives the wind speed it stands for.

![Beaufort 2, 5, 8 and 11 on the Open Sea style](https://2855220899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk51ACJUA5E3mZvLb9h%2Fuploads%2FPk6o1mGkSdG08AWfuSXe%2Flook_beaufort.jpg?alt=media)
{% endstep %}

{% step %}

### Or start from a preset

On the **Sea** page, open **Preset**. Thirteen ready-made seas ship with the plugin, in three families:

| Family        | Presets                                              |
| ------------- | ---------------------------------------------------- |
| **Sea State** | Calm, Light Breeze, Moderate, Rough, Storm           |
| **Location**  | Tropical Shallow, Open Ocean, North Atlantic, Lagoon |
| **Use Case**  | Beach, Offshore, Cinematic, Performance              |

Pick one and the ocean takes it. As soon as you change anything, the dropdown reads **(edited)** beside the preset's name; pick the preset again to go back to it.

![The Preset dropdown](https://2855220899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk51ACJUA5E3mZvLb9h%2Fuploads%2FvdeFsTUma4N0F7Y8QTlw%2Flook_presets.png?alt=media)
{% endstep %}
{% endstepper %}

## Part 2 - Colour

{% stepper %}
{% step %}

### Choose a sea colour

Still on the **Sea** page, open **Sea colour**. Each entry shows a swatch running from the shallows to the deep.

* **Use style** - the colour the ocean style brings. The default.
* **Use preset** - the colour of the preset in use.
* A named sea - forty-one of them, in six groups: **Tropical**, **Temperate**, **Northern Seas**, **Southern Seas**, **Unique** and **Stylized**.
* **Custom** - your own.

![The Sea colour dropdown](https://2855220899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk51ACJUA5E3mZvLb9h%2Fuploads%2FahFdSP7iJxn66HOhITjn%2Flook_colours_menu.png?alt=media)

![Caribbean Turquoise, Mediterranean, North Sea and Norwegian Fjord on the same beach](https://2855220899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk51ACJUA5E3mZvLb9h%2Fuploads%2FIVCY6DN5xcDBLZ5wX9w2%2Flook_colours.jpg?alt=media)
{% endstep %}

{% step %}

### Make your own colour

Choose **Custom** and three rows appear under the dropdown: the **shallow colour**, the **deep colour**, and the water's **clarity** - how far you can see into it.

The quickest way to a custom colour is to pick the named sea closest to what you want, note how it looks, then switch to **Custom** and adjust.
{% endstep %}

{% step %}

### Set the foam colour

**Foam colour** is filled in for you whenever you choose a sea colour. Change it for off-white, sandy or tinted foam.
{% endstep %}
{% endstepper %}

## Part 3 - The waves

The **Waves** category on the **Sea** page shapes the sea without changing its strength.

| Row                 | What it does                                                                            |
| ------------------- | --------------------------------------------------------------------------------------- |
| **Wind direction**  | The way the wind sea travels, in degrees: 0 is +X, 90 is +Y.                            |
| **Wave speed**      | How fast the waves move. 1 is natural.                                                  |
| **Choppiness**      | How sharp the crests are: 0 rounds them, 1 is the style's own, 2 sharpens them.         |
| **Wind dependency** | How closely the waves follow the wind: 0 spreads them broadly, 1 lines them up with it. |
| **Wave spread**     | How long the crests run: -1 is a confused sea, 1 is long, regular crests.               |

![Choppiness 0 and 2; Wave spread -1 and 1](https://2855220899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk51ACJUA5E3mZvLb9h%2Fuploads%2FmV1sq5igpXf05x9ptX4y%2Flook_waves.jpg?alt=media)

## Part 4 - The surface

Open the **Surface** page. It has four tabs. Start on **Water**.

{% stepper %}
{% step %}

### Roughness

**Roughness** is the one slider for how the whole sea reflects: lower is glossier, with sharper reflections and a tighter path of sunlight; higher is rougher and softer. 1 is the style's own.

**Roughness from waves**, under it, is how much the waves too small to see roughen the water in the distance. Lower it for a glossier, more reflective far sea.

![Roughness 0.5, 1 and 1.5](https://2855220899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk51ACJUA5E3mZvLb9h%2Fuploads%2FJ4pjmjTsWF3zNtXGRHue%2Flook_roughness.jpg?alt=media)
{% endstep %}

{% step %}

### The sun on the water

**Sun reflection** chooses how the sun shows on the sea:

* **Physical** - the real highlight and its path of light. **Highlight intensity** dims or brightens it without touching the other reflections.
* Stylized glints in its place, with their own size, softness and brightness. The stylized styles use these.
  {% endstep %}

{% step %}

### Light through the waves

**Sun glow through water** lights the thin tops of the waves from behind, as low sun does. **Wave Glow**, lower on the tab, adds the stylized version: light through the wave faces and a soft highlight over the peaks.
{% endstep %}
{% endstepper %}

## Part 5 - Foam

Open the **Foam** tab. It has one category for each part of the foam, so where a row stands tells you what it is for.

{% stepper %}
{% step %}

### Choose the foam type

**Foam type**, in **Offshore Foam**, is the biggest choice on the tab.

| Foam type         | The foam it draws                                                                                                     |
| ----------------- | --------------------------------------------------------------------------------------------------------------------- |
| **Breaking foam** | Whitecaps where the crests fold, and the trails they leave. Crisp and patchy. The realistic styles' own.              |
| **Crest trail**   | One soft foam: a head on the folding crests and a translucent trail down their backs. The three Stylized styles' own. |

Either works on any FFT style.

![Breaking foam and Crest trail on the same sea](https://2855220899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk51ACJUA5E3mZvLb9h%2Fuploads%2F6iFU2r7OTpM7BzxEDa9Y%2Flook_foam_types.jpg?alt=media)
{% endstep %}

{% step %}

### Set how much foam there is

* **Crest Foam** - the foam where the crests fold now. **Crest intensity** is how much forms.
* **Trail Foam** - the foam they leave behind. **Trail intensity** is how much, **Trail dissipation** how fast it fades.

To turn the open sea's foam off altogether, untick **Enable offshore foam**. The shoreline keeps its own.
{% endstep %}

{% step %}

### Choose a texture style

Scroll to **Foam Textures** and open **Texture style**. It is a ready-made set of foam textures; picking one fills in every row beneath it.

| Texture style                    | Its look                                                                         |
| -------------------------------- | -------------------------------------------------------------------------------- |
| **Density and bubbles**          | A veined foam with bubble holes. Natural sea foam.                               |
| **Fibres and lace**              | A coarse lace for the trails, fine fibres for the whitecaps, turned to the wind. |
| **Painted (one packed texture)** | Flat and clean.                                                                  |
| **Brush wisps**                  | Soft brush strokes laid across the wind.                                         |
| **Combed fibres**                | Fine fibres drawn long down the wind.                                            |

![The five texture styles](https://2855220899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk51ACJUA5E3mZvLb9h%2Fuploads%2FObPA1fhQwZqaq4599GiP%2Flook_foam_textures.jpg?alt=media)

To use a texture of your own, pick it in the row's texture picker. [Foam Types and Foam Textures](https://docs.shadersource.io/assets-and-plugins/ocean-tool-2/how-to-use/foam-types-and-foam-textures.md) explains every row, packed textures and how to prepare your own.
{% endstep %}

{% step %}

### Add the foam scatter

**Foam Scatter** is the pale, milky water under and round the foam - the light its bubbles scatter back. **Amount** sets how much; **Spread** how far it reaches past the foam.

It is what makes foam sit *in* the water rather than on it.
{% endstep %}
{% endstepper %}

## Part 6 - Spray and the distance

Two more tabs on the **Surface** page finish the picture.

* **Particles** - the **Whitecap Spray**: splashes thrown off the whitecaps in bursts, more as the wind rises. Open Sea, Standard and Stylized (FFT) throw it by default.
* **Distant Sea** - what the far water does: a far swell, slicks where currents smooth the surface, and **wind gusts** - patches of rougher water that sweep downwind and fade.

## Part 7 - Keep it

Open the **Advanced** tab and press **Save as preset**. The whole ocean is saved as a preset asset next to the level and appears under **Your Presets** in the **Preset** dropdown, ready to apply to any other ocean.

Later, **Overwrite preset** writes your changes back into it, and **Revert to preset** throws your changes away.

## Where next

* [Foam Types and Foam Textures](https://docs.shadersource.io/assets-and-plugins/ocean-tool-2/how-to-use/foam-types-and-foam-textures.md) - the foam in full.
* [Painting the Ocean](https://docs.shadersource.io/assets-and-plugins/ocean-tool-2/tutorials/painting-the-ocean.md) - change the look in one place only.
* [Simple Tab](https://docs.shadersource.io/assets-and-plugins/ocean-tool-2/how-to-use/ocean-tool-2-editor-mode/simple-tab.md) - every row on every page.
