XII Release 0.1.0
Loading...
Searching...
No Matches
xiiAtmosphereSettings Struct Reference

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <Atmosphere.h>

Public Attributes

float m_fPlanetRadiusKm = 6360.0f
float m_fAtmosphereRadiusKm = 6460.0f
float m_fRayleighScaleHeightKm = 8.0f
float m_fMieScaleHeightKm = 1.2f
xiiVec3 m_vRayleighScattering = xiiVec3(0.005802f, 0.013558f, 0.033100f)
xiiVec3 m_vMieScattering = xiiVec3(0.003996f)
xiiVec3 m_vMieAbsorption = xiiVec3(0.004400f)
xiiVec3 m_vOzoneAbsorption = xiiVec3(0.000650f, 0.001881f, 0.000085f)
xiiVec3 m_vPlanetUpDirection = xiiVec3(0.0f, 0.0f, 1.0f)
float m_fGroundAltitudeMeters = 0.0f
float m_fMiePhaseG = 0.8f
float m_fSunLimbDarkening = 0.6f
xiiUInt32 m_uiTransmittanceIntegrationSteps = 40U
xiiUInt32 m_uiMultiScatterSqrtSamples = 8U
xiiUInt32 m_uiSkyViewIntegrationSteps = 16U
xiiUInt32 m_uiAerialPerspectiveSteps = 8U

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

Authored physical parameters consumed by atmosphere rendering passes. Distances and extinction coefficients are expressed in kilometres because that keeps the values numerically well-conditioned in the GPU integration.


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Lighting/Atmosphere.h