- Home /
Change time of day
I am massively impressed with the new procedural skybox in Unity 5. Creating even the simplest of skyboxes and making it look good was a chore in previous editions, so we are very happy about it.
However, now I'm working on a game where each map is to have three preset times of dat: day, night and evening. So we've created three seperate procedural skyboxes and three different light sources, which are to activate and deactivate depending on which time of day is present. HOWEVER, GI and other visual factors need to bake every time you change these things. For this reason, I wonder if there is any way to bake several sets of light for the map and then just load the right one when necessary.
Any ideas?
Answer by Graphics_Dev · Mar 06, 2016 at 08:21 PM
Two ways to go about this...
Precomputed realtime GI:
http://blogs.unity3d.com/2015/02/24/gorgeous-arch-viz-in-unity-5/
http://blogs.unity3d.com/2015/11/05/awesome-realtime-gi-on-desktops-and-consoles/
Storing multiple snapshots:
(bottom of the page)
http://docs.unity3d.com/Manual/GlobalIllumination.html
Let me know if this helps ;)
Your answer
Follow this Question
Related Questions
Switch Precomputed Realtime GI data using scripts 0 Answers
Layer based Ambient Lighting 1 Answer
Indirect lighting not showing well 1 Answer
Is it possible to fake Global Illumination within textures? 1 Answer
Ambient Intensity not working 2 Answers