Performance and quality settings
This page lists the controls that trade detail for speed, what each one costs and what you lose by lowering it. The plugin ships no measured timings, so profile your own scenes with Unreal’s tools; the guidance below follows from what each setting does.
Where the cost goes:
- Every frame, on each player’s machine: the ocean waves (they grow with FFT Resolution and the number of wave layers), the water on screen (Water Quality and the mesh LODs), caustics, the shoreline surf where there is coast, the river ripples, the underwater effects while the camera is underwater, and buoyancy for each floating object.
- Once, when play starts and on each rebake: removing the ocean under land, building the depth map (Grid Resolution, Depth Quality) and building the surf.
What to lower first on weak hardware
Section titled “What to lower first on weak hardware”-
Water Quality. One call, local to the player, and floating objects keep all wave layers. See Water Quality.
-
FFT Resolution. Lower it one step at a time (512, then 256, then 128). Local to the player; the waves boats ride stay the same. See FFT Resolution.
-
Underwater effects. Turn off Sun Shadows or lower Shaft Steps and the shadow Resolution. They only cost while the camera is underwater or just above the surface. See Underwater.
-
River ripples. Turn the river wave simulation off per player for rivers the player is far from. See Rivers.
-
Caustics and surf. Turn off Enable Caustics, lower the shoreline Atlas Resolution and Swell Components, or turn the surf off in levels without visible coast. See Caustics and Shoreline surf.
-
Wave layers. Use fewer layers in your Wave Data Asset. Besides FFT Resolution, this is the only control that reduces the cost of the waves themselves. See Wave layers.
-
Floating objects. Lower the buoyancy Calculation Rate Hz and enable Sleep When Out Of Sight on background objects. See Floating objects.
-
The ocean mesh. Shorten the LOD distances and keep Single Layer Water Max LOD at 1. See The ocean mesh.
For long loading hitches or slow rebakes, see Load-time bakes.
Water Quality
Section titled “Water Quality”Water Quality (ocean, DRW Ocean Spectrum, default Ultra) is the rendering quality on this machine. It does not replicate, so each player can pick their own. Change it at runtime with Set Water Quality on the ocean.
| Water Quality | Wave layers drawn | LOD distances | LOD rings with the default distances |
|---|---|---|---|
| Ultra (default) | up to 8 | x 1 | LOD1 to 256 m, LOD2 to 512 m, LOD3 to 640 m |
| High | up to 7 | x 0.85 | 218 m, 435 m, 544 m |
| Medium | up to 6 | x 0.7 | 179 m, 358 m, 448 m |
| Low | up to 4 | x 0.6 | 154 m, 307 m, 384 m |
- Layers drawn: lower tiers draw only the first layers of your list, so keep the list ordered from longest to shortest and the finest ripples go first. Floating objects always use every layer, so they behave the same at every tier.
- LOD distances: the LOD1, LOD2 and LOD3 Grid Distance rings shrink, so fewer cells use the dense near meshes.
Water Quality lowers what the GPU draws; it does not reduce the cost of the waves themselves. For that, lower FFT Resolution or use fewer layers.
FFT Resolution
Section titled “FFT Resolution”FFT Resolution sets how much detail each wave layer has: 128 x 128, 256 x 256, 512 x 512 or 1024 x 1024. BP_DynamicRealWater ships at 512 x 512 (the C++ class default is 256 x 256); the four shipped wave assets use 256 x 256.
- Each step up costs clearly more GPU time every frame, for every layer.
- Going down loses the shortest ripples, mostly in the finest layer. The longer waves are the same at every resolution, so players with different settings still see and ride the same ocean.
- It is local and does not replicate.
It is set on the ocean under DRW Ocean Spectrum, or in a Wave Data Asset under Simulation. While a Wave Data Asset is assigned, the asset’s FFT Resolution applies and the ocean’s own setting is hidden.
At runtime, call Set FFT Resolution on the ocean or the library node Set Ocean FFT Resolution. It costs a one-frame hitch, so call it from a settings menu, never every frame. Calling it with the current resolution does nothing.
Foam Low Resolution Compensation (ocean, DRW Ocean Spectrum, default 0.65, 0 to 2) boosts the foam at 256 x 256 and 128 x 128, where lower resolutions lose foam. It has no effect at 512 x 512 and above. 0 turns it off. Raise it if the whitecaps look thin after lowering FFT Resolution.
Underwater
Section titled “Underwater”These settings are on the ocean under DRW Underwater (in a level without an ocean, the same Sun Shadows settings are on the DRW Underwater component of the player’s pawn). They only cost while the camera is below the water surface or less than 1 m above it.
| Setting | Default | What it costs and what it gives |
|---|---|---|
| Sun Shadows | On | Two extra depth renders of the scene per frame while underwater, so the sun shafts and caustics stop at objects. Off removes that cost; shafts and caustics then pass through objects. |
| Resolution (Sun Shadows, Advanced) | 512 | Sun shadow resolution, 128 to 2048. Higher gives sharper shadow edges and costs more. |
| Coverage (Sun Shadows, Advanced) | 6400 cm | World size the sun shadows cover around the camera, 1000 to 51200 cm. Shafts beyond half of it are unshadowed. |
| Shaft Steps (Light, Advanced) | 16 | Quality of the sun shafts, 4 to 64. Higher is smoother and costs more. |
| Light Range (Light) | 5000 cm | Underwater point and spot lights farther than this from the camera are skipped. Up to 8 lights are used. |
Sun Shadows, its Resolution and Shaft Steps do not replicate and can be set from Blueprint on the ocean, so each player can choose them in a settings menu.
Rivers
Section titled “Rivers”Each river runs its own wave simulation for its ripples and foam detail. Enable River FFT (river, DRW Surface, on by default) is decided per player and does not replicate. Call Set River FFT Enabled on a river to switch it with any condition, for example while the player is far away. Off costs no GPU time; the river surface then has no ripple detail. See Rivers.
Caustics
Section titled “Caustics”Enable Caustics (ocean, DRW Caustics, or in a Visual Data Asset) off removes the cost of the ocean’s caustics every frame. The ocean’s caustics are lost.
Shoreline surf
Section titled “Shoreline surf”- Atlas Resolution (default 2048) sets the surf’s per-frame GPU cost and its video memory, however much of it your coast uses. Use the lowest value that still holds your coast; see the capacity table in Shoreline surf.
- Swell Components (default 16, 1 to 32): fewer components cost less GPU time and give a more regular surf.
- Enabled off removes all surf cost. The surf only runs once a coast has been found in the bake area, so an open-sea level pays nothing for it.
Wave layers
Section titled “Wave layers”Every wave layer costs GPU time every frame at the FFT Resolution. Fewer layers in your Wave Data Asset (or in Cascade Settings on the ocean) cost less. The finest layers add the least to the large-scale look, so remove those first. Water Quality only hides layers on screen; it does not remove their cost.
Floating objects
Section titled “Floating objects”On each DRW Buoyancy component, under DRW Buoyancy:
- Calculation Rate Hz (Simulation, default 30, 1 to 120): how often buoyancy is calculated in Fixed Timestep mode. Lower values use less CPU but give a coarser simulation.
- Physics Quality (Simulation): how the buoyancy work is scheduled. See Physics quality.
- Sleep When Out Of Sight (Optimization, off by default): puts the body to sleep while no player can see it, and wakes it back on the current wave when one can. It runs on the server. Use it for boats and debris that do not need to move unseen.
The ocean mesh
Section titled “The ocean mesh”| Setting | Default | Lower it for speed |
|---|---|---|
| LOD1, LOD2, LOD3 Grid Distance | 4, 8, 10 cells | Fewer cells use the dense near meshes. Water Quality also scales these. |
| LOD1 Far Grid Distance | 3 cells | Beyond it, LOD1 cells use a mesh with a quarter of the triangles. 0 disables that. |
| Single Layer Water Max LOD | 1 | Keep it at 1, the minimum. Each LOD added to the near water material costs GPU time. |
| Grid Resolution | 256 x 256 | 512 x 512 has four times as many cells, most of them distant and coarse, and makes the bake when play starts longer; 128 x 128 has a quarter as many, with a smaller bake area. |
| Far Ocean Ring Count | 6 | The far ocean is flat and cheap; fewer rings shorten the reach to the horizon. |
| Grid Update Interval | 0.2 s | How often the cells re-pick their LOD as the camera moves. |
All are on the ocean under DRW LOD Settings and DRW Grid Settings. See The ocean mesh and the far ocean for what each one changes.
Load-time bakes
Section titled “Load-time bakes”When play starts, and on every rebake, the ocean removes its mesh under land, builds the depth map and builds the surf, spread over several frames. What makes it take longer:
- Grid Resolution: a larger grid covers a larger area to check for land and to map.
- Depth Quality: each step up maps the seabed in more detail and takes longer. GPU Depth Capture off (and dedicated servers, which always work that way) makes this step slower.
- Coastline length: the surf on a long coastline takes longer to appear. A larger Max Runup Distance adds to this.
Rebakes repeat this work: when land streams in or out, when Shoreline Obstacles appear, disappear or call Rebake Shoreline, and when a river mouth changes. Avoid triggering them repeatedly. See When the bake runs.
Dedicated servers
Section titled “Dedicated servers”A dedicated server draws nothing, so the ocean skips its per-frame visual work there: the waves on screen, surf, caustics and water material updates. It still builds the depth map at load, always as with GPU Depth Capture off and without the Client Depth Map Delay, so Grid Resolution and Depth Quality scale that load work on the server. The underwater look is only added to pawns that a local player controls, so a dedicated server has none.
Several clients in Play In Editor
Section titled “Several clients in Play In Editor”When you test multiplayer in the editor, every client window (and the listen server, if you play as one) runs its own ocean in the same process. Frame rates with several PIE clients are therefore lower than a single player would see.
A settings menu
Section titled “A settings menu”-
In your options menu, get the ocean with
Get DRW Grid Manager. -
When the player picks a quality level, call
Set Water Qualityon the ocean andSet Ocean FFT Resolution. -
Optionally set the ocean’s underwater Sun Shadows and Shaft Steps from the same menu.
-
Save the choice, and apply the FFT Resolution again whenever a sea state change has finished (
Is Ocean Wave Blendingturns false), including changes the server started, because wave assets carry their own FFT Resolution.
One possible mapping, as a starting point for your own profiling:
| Menu level | Water Quality | FFT Resolution |
|---|---|---|
| Low | Low | 128 x 128 |
| Medium | Medium | 256 x 256 |
| High | High | 512 x 512 |
| Epic | Ultra | 512 x 512 or 1024 x 1024 |