Create a Day/Night cycle with realistic sun positions | Day Night Cycle In UE 5 | Part 1

Опубликовано: 08 Октябрь 2024
на канале: InsertNameHereGameDev
15,350
597

The tutorial series playlist:
   • Day/Night cycle | UE5  

In this tutorial we will make a day night cycle that uses the Sun Position Calculator plugin to simulate realistic sun positions. We also add a moon into our scene, and fix the weird bug where the night is too bright. We also use real world locations to determine the sun rise and sunset positions.

How I got the timezones:
https://www.timeanddate.com/time/map/

Timestamps:
00:00 Intro
01:13 Enable the Sun Position Calculator plugin
02:06 Setting up the level
04:08 Making the blueprint
06:29 Fix a small performance problem
07:36 Adding fog to our level
08:22 Adding clouds to our level
09:07 Adding the moon into our level
09:59 Fixing forward shading error
11:00 Fix moon not registering as a moon
11:39 Fix the night looking too bright
14:58 Setting up the day night cycle
17:16 Fixing stuttery movement
18:37 Adjusting the length of the day night cycle
22:53 Adding the ability to cycle multiple days during the year
30:16 Node cleanup
31:44 Testing everything so far
32:47 Fixing the time slider
33:51 Allow the editor to change the time
35:57 Using real world locations for sun
39:13 Outro

Music used:
Otis McDonald - Spooky Boop (used inside of the video and the outro):
   • Otis McDonald «» Spooky Boop  

#blueprint #ue5 #ue4 #night #cycle #day