Atmosphere parameters. Default values correspond to Earth-like atmosphere.
More...
#include <Sky.hpp>
|
glm::vec3 | sunColor = glm::vec3(1.474f, 1.8504f, 1.91198f) |
| Sun direct color.
|
|
glm::vec3 | kRayleigh = glm::vec3(5.5e-6f, 13.0e-6f, 22.4e-6f) |
| Rayleigh coefficients.
|
|
float | groundRadius = 6371e3f |
| Radius of the planet.
|
|
float | topRadius = 6471e3f |
| Radius of the atmosphere.
|
|
float | sunIntensity = 20.0f |
| Sun intensity.
|
|
float | kMie = 21e-6f |
| Mie coefficients.
|
|
float | heightRayleigh = 8000.0f |
| Mie characteristic height.
|
|
float | heightMie = 1200.0f |
| Mie characteristic height.
|
|
float | gMie = 0.758f |
| Mie g constant.
|
|
float | sunRadius = 0.04675f |
| Sun angular radius.
|
|
float | sunRadiusCos = 0.998f |
| Cosine of the sun angular radius.
|
|
Atmosphere parameters. Default values correspond to Earth-like atmosphere.
The documentation for this struct was generated from the following file: