A downloadable asset pack

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 ☃️

Published 1 day ago
StatusReleased
CategoryAssets
AuthorMGeLabs
TagsAsset Pack, cycle, day, night, sourcecode, time, Unity

Download

Download
DayNightSystem-1.0.1.unitypackage 1.8 MB

Install instructions

Option 1: Unity Package Manager (UPM)

Open the Package Manager, click the "+" icon,  select "Add package from git URL...," and enter:

https://github.com/m-gebhard/unity-daynight-system.git 

Option 2: Unity Package

Download the latest release and import the Unity Package directly into your project.

Leave a comment

Log in with itch.io to leave a comment.