voxolith

blendAtmosphere()

Blend two atmospheres. A change of precipitation kind fades one out before the other fades in.

function blendAtmosphere(
   a: Atmosphere, 
   b: Atmosphere, 
   t: number
): Atmosphere;

Defined in: engine/src/atmosphere/weather.ts:78

Parameters

ParameterType
aAtmosphere
bAtmosphere
tnumber

Returns

Atmosphere

On this page