Cloudscape Docs
View all packages

Sky and time

Aurora and rainbow

Draw aurora and rainbow effects for an assigned camera.

Cloudscape 26.11.0Unity 6000.0+Built-in · URP · HDRP

Add Cloud Sky Effects and explicitly assign a perspective Camera. Aurora and rainbow intensities default to zero. Set either intensity above zero during play to draw that effect for the assigned camera; both can be used independently or together. The component creates a private overlay material and, in Built-in, a mesh; it releases them on disable, and does not change the scene sky, camera settings, lights or global render settings. Its GameObject layer must be included in the camera culling mask. Opaque scene depth should occlude the far-depth overlay.

Assign a Cloud Time Of Day to orient the rainbow relative to its sun, or set FallbackSunDirection in world coordinates. The rainbow is an authored approximation; the aurora is a moving stylized ribbon. Neither simulates atmospheric optics or weather. In Built-in, the component refreshes a camera command buffer before rendering; Render can also refresh it explicitly. The buffer runs before Cloudscape cloud composition and is removed when the component is disabled or its camera changes. In URP, add Cloud Sky Effects Feature to the camera's Universal Renderer. It draws after the skybox and before Cloudscape cloud composition; Render does not submit a separate URP draw. Without the feature, URP effects do not render. Only one enabled Cloud Sky Effects component may target a given camera; conflicts render no effects.

HDRP requires a global Custom Pass Volume at Before Transparent. Add Cloud Sky Effects Custom Pass before exactly one enabled Cloudscape custom pass in that volume and assign the same volume to the sky pass’s Owner Volume field. Both passes must remain in that order. The sky pass reports its diagnostic and skips drawing if its configuration is invalid. Use only one Cloudscape volume for the camera; ordering against other volumes is not established. The HDRP pass draws into the camera color and depth buffers before the cloud pass.

The implementation accepts Built-in, URP and HDRP game cameras and refuses unknown pipelines. It rejects stereo, orthographic, reflection, partial-viewport, invalid-projection and stacked URP cameras. In URP, the assigned camera must already have Universal Additional Camera Data when the component first checks it; after adding that data, disable and re-enable the effects component to retry. XR and rendering through camera stacks are not supported. HDRP additionally requires NoAA, no MSAA and no dynamic resolution; native TAA and other anti-aliasing modes are not supported for the HDRP sky pass. Local Unity 6000.6 tests exercised automatic Built-in and URP camera frames, plus URP opaque-geometry occlusion using an explicit camera request. Visual quality and other configurations require target-project validation. The URP pass precedes Cloudscape cloud composition so cloud opacity can attenuate it. A local Unity 6000.6 Metal test exercised cloud attenuation and opaque depth; validate other cameras and target devices in your project. A local Unity 6000.6 Metal Built-in Forward test also exercised cloud attenuation, pass ordering and camera cleanup; other rendering paths and target devices need validation. A local Unity 6000.6 Metal HDRP NoAA test exercised cloud attenuation, opaque depth and ordering rejection. Validate exposure, other versions, graphics APIs and target devices in your project. The component does not create weather, change exposure, or adjust cloud lighting.

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.

Email supportJoin Discord

Cloudscape 26.11.0

Search documentation