charturbo - v0.1.0
    Preparing search index...

    Interface SceneShadowsDescriptor

    Shadow settings (setShadows); omitted fields keep their current value.

    interface SceneShadowsDescriptor {
        bias?: number;
        bounds?: SceneShadowBounds;
        darkness?: number;
        enabled?: boolean;
        mapSize?: SceneShadowMapSize;
        normalBias?: number;
        point?: ScenePointShadowsDescriptor;
        softness?: number;
    }
    Index
    bias?: number

    Constant depth bias in shadow-map texels, 0..16 (default: 0.5); also scaled by the surface slope

    'auto' (default) fits every caster and receiver; or a fixed world-space sphere

    darkness?: number

    Fraction of the directional light a shadow removes, 0..1 (default: 1)

    enabled?: boolean

    Turns shadows on (default: false)

    Shadow map edge (default: 2048)

    normalBias?: number

    Receiver offset along its normal in texels, 0..16 (default: 1)

    Point-light shadows of the setLighting point light (independent of the fields above)

    softness?: number

    PCF filter radius in texels, 0..8 (default: 1.5; 0 = hard edges)