Interface MieHgDPhaseConfig

Parameters for the Henyey-Greenstein + Draine (https://research.nvidia.com/labs/rtr/approximate-mie/) approximation of the Mie phase function

interface MieHgDPhaseConfig {
    constantDropletDiameter?: number;
    useConstantDropletDiameter?: boolean;
}

Properties

constantDropletDiameter?: number

The constant water droplet diameter for the Henyey-Greenstein + Draine phase function.

If useConstantDropletDiameter is false, this parameter is ignored.

Defaults to 3.4;

useConstantDropletDiameter?: boolean

If this is true, a constant droplet diameter will be used throughout the atmosphere renderer's lifetime. Otherwise, the diameter is set dynamically each frame using Mie.phaseParam.

Defaults to true.