melonJS
    Preparing search index...

    Interface NoiseTexture2dBakeSettings

    interface NoiseTexture2dBakeSettings {
        animated?: boolean;
        asNormalMap?: boolean;
        bumpStrength?: number;
        colorRamp?: Gradient;
        height?: number;
        invert?: boolean;
        noise?: Noise;
        seamless?: boolean;
        seamlessBlendSkirt?: number;
        speed?: number;
        width?: number;
    }
    Index
    animated?: boolean

    sample in 3D (getNoise3d) using an internal time as the third axis, advanced by NoiseTexture2d#update

    asNormalMap?: boolean

    encode as a normal map

    bumpStrength?: number

    normal steepness when asNormalMap

    colorRamp?: Gradient

    map the noise value to a color

    height?: number

    baked texture height in pixels

    invert?: boolean

    invert the noise value (1 - v)

    noise?: Noise

    an existing Noise to bake; when omitted one is built from the forwarded field settings

    seamless?: boolean

    tile cleanly in both axes

    seamlessBlendSkirt?: number

    edge blend band width as a fraction (0..1) of the smaller dimension, when seamless

    speed?: number

    animation speed in noise z-units per second (only used while animated)

    width?: number

    baked texture width in pixels