Skip to content
Kevin Mallinson edited this page Nov 14, 2026 · 2 revisions

Water

rt_water=1 turns the levels' flat water into real water: waves moving with the wind, the sky and the level reflected along them, the bottom seen through shallow water and deep water darkening, foam where it meets the shore, and sparkles where the sun catches the waves. The water's surface itself rises and falls with the swell.

Water: off on the left, on on the right

Australia, the same view twice, close to the water. Left: the game's flat sea. Right: rt_water=1 with its default settings - waves, the sky and the cliff reflected, the shallows turning green over the sand.

Barcelona harbour

Australia's shore: off on the left, on on the right

Australia's beach, the same view twice. Right: rt_water=1 - foam along the beach, the cliff reflected and the sea's colour with depth.

Turning it on

Runs on any Vulkan GPU; no ray tracing needed.

Where Setting
Options > Surfaces Real water, Waves, Wind, Water clarity, Shore foam, Water colour, Rolling waves
thug2-decomp.ini [Graphics] rt_water=1

Every key changes at once from the Options screen.

Key Default What it does
rt_water_waves 1 Wave height, times each level's own (a harbour is calmer than the open sea; 0 flat)
rt_water_wind 1 Wind strength: the ripples' size and speed (0-2)
rt_water_wind_heading auto Which way the wind blows, in degrees (auto: the level's own)
rt_water_clarity 1 How far you see into the water (0.5 murky, 2 clear)
rt_water_foam 1 Foam along the shore (0-2)
rt_water_tint auto auto (the water's own colour) or r,g,b
rt_water_screen_reflections 1 0 reflects only the sky (a little cheaper)
rt_water_geometry 1 The surface moves with the swell; 0 keeps it flat with the waves in the shading only. Switched on later, it waits for the next level load

Limits

  • Only flat water that faces up; waterfalls are drawn as before.
  • Which of a level's materials count as water is decided by its moving textures and colour; node tools/game/water_survey.ts lists them for each level.

Clone this wiki locally