Sky and time
Day night cycle
Give a scene a stylized day and night with one light, ambient, fog and reflection blending.
Cloud Day Night Cycle gives a scene a stylized day and night. One directional light is the sun by day and the moon by night, swapping while both are dark so the change never shows. Ambient trilight, fog colour and density, and reflection intensity blend between hourly keys. The default keys run from a rosy morning through a golden hour and a blue hour to a lifted, moonlit night. It works in Play mode, and the scene's fog, ambient, reflection and Sun settings come back when the component is disabled.
Add the component to any GameObject. With Clock Source set to Own, it starts at Hour and runs a full day in Day Length real seconds. Tick Paused to hold it. Set Sunrise Hour and Sunset Hour for the length of the day, Noon Elevation for how high the sun climbs, Night Depth for how long dusk and dawn linger, and Sky Bearing to turn the sun's road about the scene. Leave Celestial Light empty to create a light and rest the scene's Sun, or assign your own directional light to have it driven and put back afterwards. The Control toggles let other systems keep ambient light, fog or reflections.
To follow a game's own clock, call ShowClock(seconds, cycleSeconds, daylightSeconds) every frame. The first daylightSeconds of each cycle run from sunrise to sunset. The sky never runs more than a moment ahead of a paused game, and a jump (a loaded save, offline catch-up) skips whole days and eases the rest in over about a second. PreviewHour holds the look at an hour for art review while the clock carries on.
Gameplay reads CloudDayNightCycle.Current: Hour, SunElevation, Night (0 by day to 1 at night), Evening (rises over the late afternoon and holds through the night) and Day. Applied fires after each new look, and CurrentKey gives the blended key. Assign the cycle to a Cloud Layer's Sky provider so the clouds take the sun or moon's direction and colour and a darker ambient at night. CloudDayNightMath holds the same math for tests and tools.
In URP, add Cloud Day Night Grade (URP) next to the cycle for the keys' exposure, white balance, colour filter, saturation, contrast, vignette and bloom, plus split toning for warm light and cool shade at a low sun and blue moonlit shadows. It creates one global Volume. Call Attach(camera) to turn on that camera's post processing and include the grade's layer. In Built-in and HDRP the cycle drives lights and render settings only, and the grade fields are ignored. In HDRP, ambient light and fog come from Volumes, so turn off Control Ambient and Control Fog there.
Cloud Time Of Day is the alternative for real dates and places: it places the sun and moon astronomically but does not set light colour, ambient light or fog.
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.