DayNight System


A lightweight and flexible day/night cycle system for Unity. It handles time progression, sun rotation, lighting, fog, skybox blending, and stars - with simple setup and customization.


by MGe Labs


Price History +

A lightweight and flexible day/night cycle system for Unity.


It handles time progression, sun rotation, lighting, fog, skybox blending, and stars - with simple setup and customization.


Easy setup - just drag the manager prefab into your scene, set the skybox material,  and you're set!


Features 🌗

  • Time Control: Adjustable time speed, set time by hour or percentage, and optional time limits.
  • Lighting & Atmosphere: Automatic sun rotation, ambient and directional light gradients, smooth transitions between morning, day, evening, and night.
  • Fog & Skybox: Dynamic fog distances, skybox fog color and density control, and horizon blending.
  • Stars: Optional star visibility in the skybox.
  • In-Game Clock: Analog clock synced to the cycle with adjustable offset and rotation direction.
  • Events & API: Events for time changes, day/night transitions, and a public, documented API for external control.

User guide and demo scene included ☃️