Lighting and integration
URP ground shadows
Cast moving cloud shadows on the ground in URP.
Add Cloud Ground Shadow Feature to the Universal Renderer used by a base camera to opt in. Assign a Cloud Layer and an enabled directional sun. The feature uses the active cloud field, including wind, authored coverage and local bounds, and samples camera depth to darken visible opaque geometry. It runs after opaque rendering and sky, before Cloudscape and transparents. Strength controls the amount of darkening; samples are limited to 1–8 and set the update quality. Softness spreads the samples sideways by up to the given metres for softer shadow edges at no extra cost; 200–500 m suits the default cumulus, and zero keeps sharp edges. Max distance fades shadows out over its last 20 %; zero uses the profile's maximum cloud distance. Start at four samples and profile the Cloudscape Ground Shadow GPU marker on the target device; the shadow pass is measured separately from the clouds in performance.
This is a screen-space approximation. It multiplies the already lit opaque color, including ambient and emission, rather than attenuating only direct sunlight. It does not shade transparent surfaces, off-screen geometry, other cameras, reflection probes or baked lighting. The sky and a sun below the horizon are skipped. Clouds and shadow sampling can differ in detail and temporal behavior; low sample counts can band or flicker. Cost scales with visible pixels and sample count. The feature does not change the scene's light or replace URP shadow maps.
The feature requires the supported full-viewport mono perspective URP RenderGraph camera path; hardware dynamic resolution and XR are unsupported. It allocates no persistent render textures and releases its material when disabled or disposed. Device behavior and cost require validation in the target project.
Still stuck?
Bring the sky with you.
Include the Cloudscape version, Unity and render-pipeline versions, operating system, graphics API, the Cloud Layer's camera setup inspection, relevant logs, and a minimal reproduction.