/

August 26, 2022

Realistic Oceans & Lakes in Unreal Engine 5

Unreal Engine 5 has some amazing new water features, which allow instant creation of realtime water for your game.


In previous iterations, adding water to a level was time consuming, and creating a unique fluid and water system required specific VFX and animation knowledge. However, with these new features, that had previously been trialled in UE4.26, adding beautiful rivers, lakes and oceans is straightforward.

  1. In Plugins, ensure Landmass and Water are both enabled. Restart
  2. Go to the Landscape tool, and turn on Enable Edit Layer. Go back to your scene with your new landscape.
  3. In the create menu, type Water, and we’ll begin by creating an ocean. Drag the Water Body Ocean actor into the scene.
Landmass and Water Setup in Unreal Engine
  1. Scale accordingly – I changed it to about half the size, but this depends entirely on your preference and scene.
  2. Under Details, go to Fall Off Mode and change to Width. This softens the transition between the surface and the water.
  3. Go to Wave, and under here go to Waves Source.
  4. Select Water Waves Asset Reference.
  5. In the content browser, right click and create a new wave – call this OceanWave1. This is a wave profile controller that allows you to manipulate and create custom node-based waves.
  6. Play around! This is what I used:
Creating an Ocean in Unreal Engine

Back in the editor, you’ll see a spline map on the landscape. You can adjust this to your tastes, as to what shape you want the ocean to have. This is straightforward to control; by clicking on a spline control point, holding Alt and dragging, you can add a new control point.

Landmass in Unreal Engine with Water
Spline Landmass in Water Unreal Engine

Creating Rivers

  1. Go back to the Water in the Create menu, and select Water Body River. Drag this onto the landscape.
  2. You’ll notice the weather mesh is made of splines. You Can extrude this by clicking and holding ALT – spread this cross the landscape plane however you like.
River Cut through in Unreal Engine
  1. Add a second river by repeating the steps above. In the details panel, you can scale this accordingly; I made mine a little smaller. Play around with the splines until you get a natural result.
River Cut Through in Unreal Engine

Lighting Setup

To adjust the lighting, select the directional light and move accordingly by pressing CTRL+L. Make sure it is set to Movable.

Lighting Island and Ocean in Unreal Engine

I’ll dress up these scene with some Quixel assets to give an idea of what you can do with with a simple water scene. You can check out our other Quixel tutorial here.

Tutorial Header Realistic Oceans & Lakes

From the same category