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).

 

Leave a Reply

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