Skip to content

Sky and Fog

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

Sky, clouds, sun and fog

The original's sky is a painted dome with a sun sprite and a lens flare. These settings replace it piece by piece:

  • Sky (rt_sky) - a real sky: light scattered by the air, bright round the sun, pale at the horizon, tinted toward the level's own sky so each level keeps its colours.
  • Clouds (rt_clouds) - volumetric clouds lit by the sun, drifting with the game clock; they can cast shadows on the level.
  • Sun (rt_sun) - a bright sun disc with a glow, light spilling past edges in front of it, instead of the sprite and lens flare.
  • Light shafts (rt_shafts) - rays of light past buildings and trees when the sun is on or near the screen.
  • Sky model (rt_sky_model) - gives the sun the colour a real sky would (warm when low, white when high); the bounce light and fog take it.
  • Volumetric fog (rt_fog) - the level's fog with the sun shining through it in shafts, darker in the shade; in levels without fog, a thin haze (rt_fog_haze) that fades distant buildings into the sky.

Sky, clouds and sun: the original on the left, the new sky on the right

Australia, one view split down the middle. Left: the painted sky - its painted sea band along the horizon. Right: rt_sky, rt_clouds, rt_sun, rt_shafts, rt_sky_model and the haze - a real sky, clouds and the sea running out to the horizon.

Australia's beach under the new sky

Turning it on

The sky, clouds, sun and shafts run on any Vulkan GPU. The fog, the haze and the sky model need ray_tracing=1.

Where Setting
Options > Sky Real sky, Clouds, Cloud cover, Cloud quality, Sun colour from sky, Sun, Sun tint, Sun rays, Volumetric fog, Haze, Haze thickness
thug2-decomp.ini [Graphics] rt_sky=1, rt_clouds=1, rt_sun=1, rt_shafts=1, rt_sky_model=1, rt_fog=1
Key Default What it does
rt_sky_match 0.8 How far the sky takes the level's own colours (0 the plain model, 1 the old sky band by band)
rt_cloud_coverage auto How much of the sky is cloud: auto (a little less than the level's painted sky) or 0-1
rt_cloud_speed 1 How fast the clouds drift
rt_cloud_quality 1 0 quarter resolution (fastest), 1 half, 2 full
rt_cloud_shadows 0 1: the clouds' shadows drift over the level
rt_sun_size 1 The sun disc's size (0.25-4)
rt_sun_colour auto auto (from its height) or r,g,b
rt_shaft_strength 0.8 How bright the shafts are (0-4)
rt_lens_dirt 0 Faint dirt on the lens where bright light blooms
rt_fog_mode 0 0: the volumetric fog replaces the level's; 1: the level's fog kept, only the sunlit shafts added
rt_fog_density 1 The fog's thickness against the level's own (0-8)
rt_fog_height 0 World units over which the fog thins going up (e.g. 800 for ground fog)
rt_fog_haze 1 In a level without fog, a thin haze that shows where the sun shines through it
rt_fog_haze_density 0.3 With rt_sky_model: how thick the air is

Tips and limits

  • Clouds replace the level's painted cloud cards.
  • A level with no sun at all keeps the game's own sun.
  • See also HDR and bloom - the sun and sky look their best with both.

Clone this wiki locally