Day Night Cycle: Sun, Moon, Sky & God Rays


The demo shows how to add a ground mist for stronger beams. ... Easy to use ... Part of the DEV505 Survival Pack. Works with Living Lake: the lakes reflect the sunset and the night sky.


by DEV505


Price History +

A full day and night for URP from one directional light: a sun that sets in a band of fire, moonlit nights, god rays, a sun flare, and eyes that adapt to the sun.

Requirements: Unity 6, URP 17 (Render Graph), a real-time directional light with shadows, post-processing on the camera.

A full day and night for URP, from one directional light.
Add one component and the sun rises, crosses the sky and sets in a blaze of colour. Then the full moon comes up and lights the night. Scrub to any hour in the Scene view, or press Play and let the clock run.


Features


• Sun and moon from one light. Your directional light becomes the moon at night, so you get moonlit shadows without a second shadowed light.
• A sky that follows the sun. Fiery sunsets, a glowing afterglow, a deep blue night sky and a full moon.
• Dusk and night lighting. Fog, ambient light and reflections dim and cool as the sun goes down, and a soft night look blends in.
• God rays. Shafts of light through every gap, from the sun by day and the moon by night. The demo shows how to add a ground mist for stronger beams.
• Sun adaptation. Look into the sun and the view darkens. Look away and it recovers, like your eyes.
• Sun flare. Glow, streak, rainbow halo and lens ghosts, hidden when something blocks the sun.


Easy to use
• One-click setup that works with your existing light, sky and volumes.
• Preview any hour in the editor. Your scene's own lighting is always what gets saved.
• Quick Check window finds and fixes setup problems.
• Demo scene: a stone circle at sunset with a first-person player. Hold T to speed up time.

Part of the DEV505 Survival Pack. Works with Living Lake: the lakes reflect the sunset and the night sky.