Cloudscape Docs
View all packages

Gameplay and API

Floating origin

Keep clouds stable when your game shifts the world origin.

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

Cloudscape can follow an application-managed floating origin. Before the next frame’s component updates and rendering, translate every participating Cloud Layer, camera, local light, sun and scene object by the same world-space delta, then call CloudFloatingOrigin.TryNotifyShift(delta) once. The delta is the actual change added to their Unity positions; for example, if the application subtracts (10000, 0, 0) from the scene, pass (-10000, 0, 0). The call returns false for non-finite input and does not move any object. Do not notify separately for each layer or camera, and do not call it during an in-flight render.

XZ noise, weather maps and local bounds are anchored to each Cloud Layer, so moving the layer with the scene keeps their relative placement. The notification compensates the vertical detail-noise phase for the accumulated Y translation. Cloud temporal history resets once per camera or eye after a shift; it is not reprojected across the jump. Pending density readbacks become stale, and directional cookies regenerate on their next component update. Other integrations must invalidate their own cached world-space data. A stationary authored map with moving wind retains its separate history-rejection behavior.

The application must shift all participating objects consistently and must not shift an object twice through parent and child transforms. A global notification also affects other active Cloudscape scenes; use this API only for one shared scene origin. Floating-origin behavior, visual continuity, timing and platform support 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.

Email supportJoin Discord

Cloudscape 26.11.0

Search documentation