Why you need a shoreline

On its own, the ocean is a flat grid of FFT waves. Shore waves, the wash running up the sand and the beach foam only show up where the ocean knows where the coast is.

You tell it with BP_ShoreWavesTool. Its spline runs along the waterline, with the water on the right-hand side. The water manager bakes every shoreline in the level into one shore map texture.

Shore waves and wash wrapping a coast of the demo island.

Shore waves and wash wrapping a coast of the demo island.

<aside> 🧭

One tool, one shoreline. An island gets one tool with a closed spline around it. A second island gets a second tool. The bake puts them all into one map.

</aside>

Before you start, the level needs a BP_WaterManager and a Shore Waves RVT volume. Press Set Up Water on the manager once (chapter 1). The tool's Status tells you when either is missing.

Two ways to get the spline

Draw the spline yourself, or let the tool find the coast for you.

Shoreline - Main Island selected in the demo. The white line is its spline along the coast.

Shoreline - Main Island selected in the demo. The white line is its spline along the coast.

Draw it

  1. Drag BP_ShoreWavesTool into the level.
  2. Move it onto the land near the coast.
  3. Select its Spline component.
  4. Edit the points like any Unreal spline. Alt-drag a point to add one. Press Delete to remove one.
  5. Keep the water on your right as you walk along the spline direction.
  6. Right-click a point and turn on Closed Loop. The bake only reads closed splines.
  7. Press Bake Shore Map on the tool. The shore waves now follow your spline.
  8. Save the level.

Dragging points doesn't bake. The tool's Status reminds you to press Bake Shore Map.