Skip to main content

Type Alias: AtmosphereUniforms

AtmosphereUniforms = object

Defined in: modules/lighting/atmosphere/atmosphere.ts:7

Properties​

enabled​

enabled: number

Defined in: modules/lighting/atmosphere/atmosphere.ts:8


exposure​

exposure: number

Defined in: modules/lighting/atmosphere/atmosphere.ts:17


groundColor​

groundColor: [number, number, number]

Defined in: modules/lighting/atmosphere/atmosphere.ts:19

Diffuse ground boundary beneath the horizon, in linear RGB.


haze​

haze: number

Defined in: modules/lighting/atmosphere/atmosphere.ts:13

Aerosol and molecular scattering multipliers.


planetRadius​

planetRadius: number

Defined in: modules/lighting/atmosphere/atmosphere.ts:16

Planet radius in metres. Positions use a local tangent frame, with z = altitude.


rayleigh​

rayleigh: number

Defined in: modules/lighting/atmosphere/atmosphere.ts:14


sunDirection​

sunDirection: [number, number, number]

Defined in: modules/lighting/atmosphere/atmosphere.ts:10

Direction toward the sun in a local east/north/up frame; must be nonzero.


sunIntensity​

sunIntensity: number

Defined in: modules/lighting/atmosphere/atmosphere.ts:11