Creating a Day/Night Cycle (Unity Tutorial)

Опубликовано: 21 Октябрь 2021
на канале: Ketra Games
43,642
1.3k

In this Unity game development tutorial we're going to look at how we can create a simple day/night cycle.

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:
►   / 57653315  

Want to follow along? This project is a good starting point
►   / 56850268  

The final script can be found here
► https://dotnetfiddle.net/7jfc0O

Help support our work:
► Patreon:   / ketragames  
► Ko-fi: https://ko-fi.com/ketragames

Follow us:
► Ketra Games: http://www.ketra-games.com
► Patreon:   / ketragames  
► Twitter:   / ketragames  
► Facebook:   / 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


Смотрите видео Creating a Day/Night Cycle (Unity Tutorial) онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Ketra Games 21 Октябрь 2021. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 43,642 раз и оно понравилось 1.3 тысяч посетителям.