Small World Engine API Reference - v0.46.1
    Preparing search index...

    Interface QualityConfig

    Quality settings for the engine.

    interface QualityConfig {
        disableTextures?: boolean;
        exposure?: number;
        gamma?: number;
        hdr?: boolean;
        maxAnisotropy?: number;
        maxShadowResolution?: number;
        mipmapping?: boolean;
        msaa?: number;
        toneMapping?: ToneMapping;
    }
    Index

    Properties

    disableTextures?: boolean

    Global toggle to disable all textures (renders default fallback textures). Defaults to false.

    exposure?: number

    Global exposure factor for brightness control. Defaults to 1.0.

    gamma?: number

    Global gamma factor for color correction. Defaults to 2.2.

    hdr?: boolean

    Whether to enable HDR rendering. Defaults to false.

    maxAnisotropy?: number

    Maximum anisotropic filtering level (1, 4, 8, 16). Defaults to 4.

    maxShadowResolution?: number

    Maximum shadow map resolution. Defaults to 1024.

    mipmapping?: boolean

    Global toggle for mipmapping. Defaults to true.

    msaa?: number

    Antialiasing (MSAA) level (0, 2, 4, 8). Defaults to 4.

    toneMapping?: ToneMapping

    The tone mapping algorithm to use. Defaults to NONE.