Interface SkyRendererConfigBase

External resources and settings required by a SkyAtmosphereLutRenderer.

interface SkyRendererConfigBase {
    defaultToPerPixelRayMarch?: boolean;
    distanceToMaxSampleCount?: number;
}

Hierarchy (view full)

Properties

defaultToPerPixelRayMarch?: boolean

If this is true, SkyAtmosphereRasterRenderer.renderSky / SkyAtmosphereComputeRenderer.renderLutsAndSky will default to full-screen ray marching to render the atmosphere.

Defaults to false.

distanceToMaxSampleCount?: number

Distance in kilometers at which the maximum number of sampler per ray is used when ray marching the sky (either when rendering the sky view lookup table or when ray marching the sky per pixel).

Defaults to 100 km.