11namespace Vkm::Engine::Atmosphere {
18constexpr float PLANET_RADIUS = 6371000.0f;
19constexpr float TOP_RADIUS = 6471000.0f;
20constexpr float EYE_ALTITUDE = 1000.0f;
23inline const glm::vec3 RAYLEIGH_SCATTERING = {5.802e-6f, 13.558e-6f, 33.1e-6f};
24constexpr float RAYLEIGH_SCALE_HEIGHT = 8000.0f;
26constexpr float MIE_SCATTERING = 21.0e-6f;
27constexpr float MIE_EXTINCTION = 1.1f;
28constexpr float MIE_SCALE_HEIGHT = 1200.0f;
38 glm::vec3 mieScattering;
The air's coefficients under an authored sky, per metre at sea level.
Definition atmosphere.h:36
glm::vec3 rayleighScattering
Also its extinction: Rayleigh absorbs nothing.
Definition atmosphere.h:37
glm::vec3 mieExtinction
Scattering plus absorption.
Definition atmosphere.h:39
Sky and image-based lighting: what the world is lit by and set against.
Definition environment.h:15