Lighting and integration
URP directional cloud cookie
Shade the URP main light with a cloud-transmittance cookie.
Add URP Directional Cloud Cookie to an object and assign a Cloud Layer, its directional sun and a reference camera. Add Universal Additional Light Data to the sun. The sun must be URP's main directional light for the main-light cookie path. The feature refuses to replace an existing cookie. It owns one linear texture and material while active, and restores the sun's previous cookie size and offset when it releases its own cookie. If another system replaces the cookie or changes its projection settings, this component stops and preserves the external change. Size and offset are independently restored only if still equal to the values Cloudscape set; disable and re-enable the component to retry.
The cookie integrates the cloud field in the light's projected plane. Unlike the screen-space approximation, standard URP materials receive it through the sun's direct light while ambient and emission are left to the material. It is a column approximation: points above or within clouds can share the same projected shadow as points below them. It does not replace built-in shadows, handle existing cookies, or establish compatibility with custom lighting shaders. Do not enable the screen-space shadow feature at the same time unless double darkening is desired.
Resolution is bounded to 64–1024 pixels per side, samples to 1–8, and update interval to at least 0.02 seconds. World size controls the light-space square and the cookie fades to a white border, so clamped sampling outside its footprint remains unshadowed. Resolution changes release and recreate the owned texture. The reference camera determines the density field's distance-dependent detail and haze. Cookie projection follows the sun transform; a moving sun or field updates at the chosen interval. Profile both generation and URP lighting on the target hardware. A layer-specific shader must include the Cloudscape directional cookie pass; an incompatible shader is rejected. Test orientation, coverage, custom lights and camera movement in the target scene; device support and performance are not implied by configuration.
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.