Documentation
    Preparing search index...

    Interface HemisphereLightSource

    What the collector reads from a hemisphere light node — the structural contract @fourjs/scene's HemisphereLight satisfies (§68).

    A two-colour directional ambient (sky above, ground below), not a punctual lamp: no position, no falloff, no shadow. The sky axis is the node's +Y in world space.

    interface HemisphereLightSource {
        color: readonly [number, number, number];
        groundColor: readonly [number, number, number];
        intensity: number;
        isHemisphereLight: true;
        getWorldUp(out: Vector3): Vector3;
    }
    Index
    color: readonly [number, number, number]

    Sky colour, straight RGB in 0…1 — premultiplied by intensity in the record.

    groundColor: readonly [number, number, number]

    Ground colour, straight RGB in 0…1 — premultiplied by intensity in the record.

    intensity: number

    Scalar multiplier on both colours: the irradiance, over π, of a surface facing that colour's hemisphere (§68; R-13).

    isHemisphereLight: true

    The brand collectSceneLights recognises. A literal true.