Hi everyone, we've just released a Unity tutorial explaining how to create a simple day/night cycle. Hope you find it useful.
In this Unity game development tutorial we're going to look at how we can create a simple day/night cycle in Unity. We'll start looking at how to control and display the time of day. Then we'll look at how to simulate the position and direction of the sunlight changing as the day progresses. Finally we'll look at how to transition between daytime and nighttime ambient light and how to add some moonlight at night. The project files are available to our patrons here: ► https://www.patreon.com/posts/57653315 Want to follow along? This project is a good starting point ► https://www.patreon.com/posts/56850268 The final script can be found here ► https://dotnetfiddle.net/7jfc0O Help support our work: ► Patreon: https://www.patreon.com/ketragames ► Ko-fi: https://ko-fi.com/ketragames Follow us: ► Ketra Games: http://www.ketra-games.com ► Patreon: https://www.patreon.com/ketragames ► Twitter: https://twitter.com/ketragames ► Facebook: https://facebook.com/ketragames Introduction - 0:00 Controlling and displaying the time of day - 0:24 Changing the direction of the sun - 5:10 Transitioning to nighttime lighting -13:13 Summary - 19:13 #KetraGames #LearnUnity #UnityTutorials #UnityTips