Hilo3d API - v2.0.0-alpha.8
    Preparing search index...

    Interface DynamicGlobalIlluminationOptions

    WebGPU dynamic diffuse global illumination using a bounded world-space probe volume.

    interface DynamicGlobalIlluminationOptions {
        bounceStrength?: number;
        environment?: Readonly<Color>;
        hysteresis?: number;
        intensity?: number;
        maxLights?: number;
        maxProbesPerFrame?: number;
        maxRayDistance?: number;
        maxRayRadiance?: number;
        maxTriangles?: number;
        normalBias?: number;
        origin?: Readonly<Vector3>;
        probeCounts?: readonly [number, number, number];
        raysPerProbe?: 64 | 128 | 256;
        relocation?: boolean;
        spacing?: Readonly<Vector3>;
        texturePolicy?: "error" | "exclude" | "material-factor";
        unsupported?: "error" | "exclude";
        viewBias?: number;
    }
    Index
    bounceStrength?: number

    Fraction of the previously submitted diffuse bounce reused at hits, in [0, 0.95]. Defaults to 0.7.

    environment?: Readonly<Color>

    Linear RGB radiance for rays that miss the complete offscreen scene.

    hysteresis?: number

    Maximum old-irradiance contribution in [0, 0.98]. Scene and light edits restart accumulation.

    intensity?: number

    Diffuse indirect illumination multiplier in [0, 8]. Defaults to one.

    maxLights?: number

    Maximum world-space point, spot and directional lights; overflow fails clearly. Defaults to 32.

    maxProbesPerFrame?: number

    Strict maximum number of probes traced per frame. Defaults to 32.

    maxRayDistance?: number

    Maximum primary and directional-shadow ray distance. Defaults to 32 world units.

    maxRayRadiance?: number

    Clamp per-ray radiance before temporal integration to control fireflies. Defaults to 32.

    maxTriangles?: number

    Maximum triangles in the CPU BVH and GPU ray scene. Defaults to 65536.

    normalBias?: number

    World-space surface-normal visibility bias. Defaults to 0.08.

    origin?: Readonly<Vector3>

    Position of the first probe. Defaults to (-4, 0, -4).

    probeCounts?: readonly [number, number, number]

    Probe counts on X/Y/Z, each at least two; total limited to 4096. Defaults to [9, 5, 9].

    raysPerProbe?: 64 | 128 | 256

    Uniform spherical rays per updated probe, one of 64, 128, 256. Defaults to 128.

    relocation?: boolean

    Relocate probes away from surfaces and out of solids within 45% of cell spacing. Defaults to true.

    spacing?: Readonly<Vector3>

    Positive world-space separation on each axis. Defaults to (1, 1, 1).

    texturePolicy?: "error" | "exclude" | "material-factor"

    Texture handling for ray-hit diffuse/emissive factors. Defaults to error.

    unsupported?: "error" | "exclude"

    Unsupported geometry/material handling. Defaults to error.

    viewBias?: number

    World-space receiver-to-camera visibility bias. Defaults to 0.04.