- Home /
How to make a Day/Night Cycle?
The title explains it all, I am just looking for someone to tell me how this can be done or offer a tutorial. I have been looking through forums and other sources for weeks now wiht no results. Help would be greatly appreciated!
Answer by FlowStateGames · Dec 11, 2012 at 05:56 PM
At first blush, I would say that it's as simple as attaching a script to your light source, or if there are multiple ones, a common parent. Then, when an event is triggered (nightTime, dayTime, or sunRise, sunSet), you can change the variables of the light to reflect the changed condition.
If I've missed something obvious, forgive me, I'm a bit new to unity. Likewise, if you need further explanation or pseudocode, I'd be happy to oblige.
Answer by NateLaw1988 · Aug 25, 2018 at 09:35 AM
https://www.youtube.com/watch?v=qetS-mQDHms&feature=youtu.be
here is my video with a link to a beautiful day night cycle. the video shows how to set it up
Your answer
Follow this Question
Related Questions
Day Night Cycle Script Not Working 3 Answers
Object rotation shifting 1 Answer
Day/Nights cycle 2 Answers
Making a sky. 0 Answers
Day Night cycle question 1 Answer