11namespace Vkm::Engine::Atmosphere {
17constexpr float PLANET_RADIUS = 6371000.0f;
18constexpr float TOP_RADIUS = 6471000.0f;
19constexpr float EYE_ALTITUDE = 1000.0f;
22inline const glm::vec3 RAYLEIGH_SCATTERING = {5.802e-6f, 13.558e-6f, 33.1e-6f};
23constexpr float RAYLEIGH_SCALE_HEIGHT = 8000.0f;
25constexpr float MIE_SCATTERING = 21.0e-6f;
26constexpr float MIE_EXTINCTION = 1.1f;
27constexpr float MIE_SCALE_HEIGHT = 1200.0f;
31inline const glm::vec3 OZONE_ABSORPTION = {0.650e-6f, 1.881e-6f, 0.085e-6f};
32constexpr float OZONE_ALTITUDE = 25000.0f;
33constexpr float OZONE_HALF_WIDTH = 15000.0f;
36constexpr float GROUND_ALBEDO = 0.3f;
40constexpr int TRANSMITTANCE_STEPS = 256;
50 glm::vec3 mieScattering;
55 && mieScattering == other.mieScattering
The air's coefficients under an authored sky, per metre at sea level.
Definition atmosphere.h:48
glm::vec3 rayleighScattering
Also its extinction: Rayleigh absorbs nothing.
Definition atmosphere.h:49
glm::vec3 mieExtinction
Scattering plus absorption.
Definition atmosphere.h:51
Sky and image-based lighting: what the world is lit by and set against.
Definition environment.h:16