![]() |
vkmEngine 1.0.0
A C++ game engine · vkmengine.com
|
What the sky is once the sun is down. More...
#include <environment.h>
Static Public Attributes | |
| static constexpr float | TWILIGHT_DEGREES = 8.0f |
| Degrees either side of the horizon across which day hands over to night. | |
What the sky is once the sun is down.
Single scattering at night is nearly black, so night's light is authored. It fades in across TWILIGHT_DEGREES around the horizon.
|
staticconstexpr |
Degrees either side of the horizon across which day hands over to night.
Read by SkySystem and shaders/sky.glsl (as a sine, via the prelude).