Knob
Sun–sky relationship
You might say: sun and sky, atmospheric sun
The sun–sky relationship keeps the directional sun or moon, atmospheric disk and sky colour driven by the same light direction and atmosphere.
- What it does
- Makes time of day read as one lighting event instead of a background pasted behind an unrelated key.
- Ask
- Does the directional light that casts the shadows also drive the atmospheric disk, scattering and sky-light update?
- Typical
- Enable Atmosphere Sun Light, assign the primary and secondary indices, and rotate the directional lights with the sky simulation.
- Trouble
- The disk, shadow direction and ambient colour disagree, or a moving sun changes the sky without refreshing the sky-light capture.
What to look for
- The sun disk sits on the same side of the sky as the cast shadows
- Sunrise and sunset shift both the horizon colour and key-light direction
- A second moon or sun occupies a distinct atmospheric-light slot
Connections
Sources
- Epic Games, Sky Atmosphere Component in Unreal Engine, Sky Atmosphere Component
You can have two atmospheric Directional Lights that receive sun disk representation in the atmosphere with sky color that depends on the sunlight and atmosphere properties.
- Epic Games, Directional Lights in Unreal Engine, Atmosphere and Cloud
Whether the Directional Light can interact with the atmosphere, clouds and generate a visual sun disk, all of which compose the visual sky.
Use it on your project
teardown-apply: hold "Sun–sky relationship" (sun-sky-relationship) from the teardown at https://teardownatlas.com/environment-art/ against my project
Paste it into a coding agent that has the teardown skills.
An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal