Taos API Reference
    Preparing search index...

    Interface FilmGrainSettings

    Animated film-grain noise.

    interface FilmGrainSettings {
        enabled?: boolean;
        intensity?: number;
        size?: number;
        luminance?: number;
        colored?: boolean;
        animated?: boolean;
    }
    Index

    Properties

    enabled?: boolean
    intensity?: number

    Noise amplitude, 0..1 (typical 0.02..0.15). Default 0.05.

    size?: number

    Grain cell size in pixels (larger = chunkier grain). Band-limited value noise, so this sets a real grain scale rather than per-pixel sizzle. Default 1.5.

    luminance?: number

    Tonal response, 0..1: 0 = uniform grain everywhere, 1 = the film curve (full grain through shadows/mids, faded out of the deepest blacks and the highlights). Default 0.8.

    colored?: boolean

    Tint each channel independently for RGB grain instead of monochrome. Default false.

    animated?: boolean

    Refresh the grain field over time (the "dancing" film look). When false the field is frozen — a single static grain overlay, useful for stills or a steadier look. Default true.