How To Make It Day Or Night In Unity

Channel:
Subscribers:
195
Published on ● Video Link: https://www.youtube.com/watch?v=_JHxS7nfCJQ



Category:
Tutorial
Duration: 20:07
124 views
3


In this tutorial, I show how to create a simple day/night cycle for Unity's skybox. I also go more into depth so that you can add various other times of the day like sunrise and sunset.

*At 4:37 The note has a typo, the correct note is:
"NOTE: If you don't bake the lighting everything will be dark including the platform."

Music used in video:
- dkmini (a song made by me)
- Sonic Unleashed Result E Music

Chapters:
0:00 Introduction
0:17 Demo
1:01 Setting Up The Scene
2:02 Code For Basic Setup
3:13 Setting Up Lighting
4:12 Result of Simple Day/Night Skybox
5:03 Code For More Advanced Setup
6:01 Getting Skyboxes From Asset Store
7:45 Code: Setting Skybox Material
8:26 Understanding When To Trigger A New Skybox
12:08 Code: Checking When To Trigger A New Skybox
16:13 Adding UI To Check Sun Angle
17:45: Optional: Adding Code To Start With Day Skybox
18:03 Testing Out The Final Result (Take 1)
18:57 Testing Out The Final Result (Take 2)
19:48 The End

Discord Link: https://discord.gg/qPYtv8aA







Tags:
unity
skybox
tutorial
unity tutorial
game
gamedev
dev
cardboard
cardboardpi
how to unity
skybox in unity
day
night
day in unity
night in unity
sun in unity
learn unity
simple unity tutorial
easy unity tutorial
how to make it night in unity
making a game
how to make a game
learning unity
how to make
skybox unity
unity skybox
stale pie games
stale pie