Actors that provides a way to make a smooth day-night transition through the use of a sky sphere, atmospheric fog, exponential height fog and skylight wrapped in an intuitive and easy way.Save and load functions are included both as sync and async methods
A set of actors that can be used to simulate a day/night cycle with different weathers blending into each other.
Make use of ue4 components such as height fog, exponential fog, sky light, etc. but pack them into a small numbers of actors to make things more manageable and intuitive.
The parameters to set a sky condition are split between two structures (Day and Night) held inside a data table. The data table row entry defines the weather condition.
The weather can be changed by simply providing the row entry name to a blueprint function and the sky will naturally blend to the new weather condition at the speed you define inside the properties panel.
Multiple data tables can be added (at the moment is not possible to switch them at runtime but if anyone is interested I will update the code).
In the plugin there are two data tables examples:
the first one, aims to be realistic but a bit excessive in his colors, the second one is an alien planets with green atmosphere.
Finding the correct values to set into the data table is easier thanks to the editor button to switch between current data table night and day conditions, so you can set the values you like in the editor and copy them into the data table.
The object has functions to save and load everything about the day cycle system and can be done both sync and async. A structure is returned from the save function and can be saved in blueprints, the same structure is taken as input in the load function to restore the sky state.
Number of Blueprints: 6
Number of C++ Classes: 8
Network Replicated: (No)
Supported Development Platforms:
I mainly develop using c++ and use blueprints just as data containers, i tried to think as a blueprint developer and included the functions that I thought will be more useful.
If anyone has suggestion/requests I will gladly implement new blueprint access to the plugin.