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

    Interface ImposterBakeOptions

    interface ImposterBakeOptions {
        ambientColor?: Color;
        ambientIntensity?: number;
        angleCount?: number;
        lightColor?: Color;
        lightDirection?: [number, number, number];
        lightIntensity?: number;
        resolution?: number;
    }
    Index
    ambientColor?: Color

    Bake-time ambient light color. Defaults to a neutral grey.

    ambientIntensity?: number
    angleCount?: number

    Number of horizontal angles baked around the object's Y axis. Defaults to 8.

    lightColor?: Color

    Bake-time key light color/intensity/direction.

    lightDirection?: [number, number, number]
    lightIntensity?: number
    resolution?: number

    Square resolution of each baked angle texture, in pixels. Defaults to 128.