MIE_PARTICLES_STANDARD
Functions
Helper function to build a standard particle definition. Assumes the medium is air (n=1.0). Computes the spectrally-averaged RGB Mie properties.
MIE_PARTICLES_STANDARD
📚 A standard library of common atmospheric particles for use in rendering.
This list provides physically-based, wavelength-dependent presets.
Note: the medium is Air.
Kind: global enum
make(diameter_m, refraction)
Helper function to build a standard particle definition. Assumes the medium is air (n=1.0). Computes the spectrally-averaged RGB Mie properties.
Kind: global function
| Param | Type | Description |
|---|---|---|
| diameter_m | number | (in meters) |
| refraction | function | refraction [n, k] - Complex refractive index of the particle. (n=real, k=imaginary) |