Game dev
Saved & recent

Volumetric sky

Related terms: volumetric clouds, cloud rendering, atmosphere, atmospheric scattering, ray marching

A sky rendered with clouds that occupy a three-dimensional volume, usually combined with a model of light scattering through the atmosphere. Cloud density varies through space, so clouds have depth and can be viewed from below, beside or inside. A skybox supplies a distant background image instead.

The renderer uses ray marching to sample density and lighting along a view ray, combining how much light is scattered toward the camera and how much passes through. This lets clouds respond to sunlight and cast shadows. More samples cost more GPU time; lower-resolution rendering and reconstruction help keep the effect affordable.

Further reading
Epic Games: volumetric cloud rendering
sun light march cloud density cloud layer cloud shadow sample camera pixel
Samples through a cloud combine density and lighting into the final pixel. This section through the sky shows how much sunlight reaches each point of the cloud: most on the sunward side, less inside and toward the base, and little on the ground in its shadow. The view ray is marched only between the bottom and top of the cloud layer, and one sample marches toward the sun to find its own light. The camera is not to scale.

View in the full Game dev collection