Documentation
    Preparing search index...

    Interface AmbientLightSource

    Where the scene ambient term comes from (§68 "ambient"): the render root, when it offers one — Scene.ambientLight is the engine's carrier. A root that is not a Scene (a subtree handed straight to Renderer.render) simply has no ambient term, and lit surfaces shade from the directional light alone.

    interface AmbientLightSource {
        ambientLight: readonly [number, number, number];
    }
    Index
    ambientLight: readonly [number, number, number]

    Straight RGB in 0…1, added uniformly to every lit surface (§68).