Taos API Reference
    Preparing search index...

    Interface ReflectionProbeFeatureOptions

    interface ReflectionProbeFeatureOptions {
        maxProbes?: number;
        captureSize?: number;
        prefilteredSize?: number;
        irradianceSize?: number;
        useSphericalHarmonics?: boolean;
        lightingOverride?: () => ProbeLightingParams;
    }
    Index

    Properties

    maxProbes?: number

    Maximum simultaneously-active probes. Costs scale linearly. Default 8.

    captureSize?: number

    Cube face size of the capture target. Default 256.

    prefilteredSize?: number

    Cube face size of the prefiltered IBL output. Default 128.

    irradianceSize?: number

    Cube face size of the irradiance IBL output. Default 32.

    useSphericalHarmonics?: boolean

    Also project each probe into order-3 SH diffuse coefficients (for the deferred IBL_DIFFUSE_SH variant). Default false. Must match the deferred lighting feature's useSphericalHarmonics.

    lightingOverride?: () => ProbeLightingParams

    Override the lighting parameters used by the capture shader (sun, sky colors, ambient). When omitted, sensible daytime defaults are used and the feature samples the scene's directional light direction each frame.