Skybox and Lights setup
Elements contributing to day / night cycle
- DirectionalLight, actor in the Persistent Level (Yliakum). Casting light globally in a certain direction. Set to Stationary.
- Intensity
- Light Color
- SkyLight, actor in the Persistent Level. Stores the color of the skybox and influence all items in the game with indirect light based on the skybox color. Set to Stationary.
- Intensity
- bp_sky, actor in the Persistent Level, which contains all the logic for rain/snow/fog/... , clouds, time of the day, the actual skybox which is a static mesh (dome).
- Light, scalar parameter on the Material applied to the skybox mesh
- ExponentialHeightFog, actor in the Persistent Level, managing the fog. Careful to change its color at night, or the skydome will stay lit.
- Light color