Day / Night Cycles in Games

So thanks to now having access to the game engine source, tweaks can be made (and have been) to enable day/night cycles based on configurable game time.

The changes needed were to blend day and night sky domes (alpha fade from one to the other), the vector translation for the sun source for PBR directional light, to correspond with shadow light direction and also light-rays (god rays).

 


Posted

in

,

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.