Day Night Cycle

Uploaded by Robert Kowalchuk on 2018-03-15.

The first semester final and the second industry review (Dec 2017). This time I worked on a side project to showcase instead of using an assignment I already completed. This was also the time I stopped admiring and started to look deeper into Fortnite. In this case it was the games use of dynamic lighting that I wanted to research and try to implement.

What I used is the same stuff you'll find in UE4's documentation on dynamic lighting. It's setting all lights to movable (dynamic) and then incorporating mesh distance fields for some ambient occlusion. However, I wanted more so I also included UE4's experimental global illumination to the project. It's definitely not needed but makes things look nicer. Lastly I set up a day night cycle. Since I reused UE4's sky sphere blueprint I needed to add a function to it that redoes everything that happens on construction. This was needed in order to transition from night to day.

 

 

Viewport showing the Mesh Distance Fields

Viewport showing the Mesh Distance Fields

View port showing the Distance Field AMbient Occlusion

View port showing the Distance Field AMbient Occlusion

View port showing the Light Propagation Volume used by the Global Illumination

View port showing the Light Propagation Volume used by the Global Illumination