numSunRaySamples Readonly

numSunRaySamples: number

If defined, corresponds to the number of atmospheric density samples uses to compute the amount of light scattered along each sun ray. Higher values increase fidelity slightly but greatly decrease performance. Minimal improvement is observable with values above 5. The range is 1 to 40. Defaults to 5.

Defined in

Last Updated: 14 November, 2024