rullino
    Preparing search index...

    Variable grainConst

    grain: MultipassFilter<
        {
            amount: {
                default: 0.3;
                description: "How strong the grain is.";
                label: "Amount";
                max: 1;
                min: 0;
                step: 0.01;
                type: "float";
            };
            seed: {
                default: 0;
                description: "Changes the grain pattern without changing its look.";
                label: "Seed";
                max: 999;
                min: 0;
                type: "int";
            };
            size: {
                default: 1.5;
                description: "Size of the grain in pixels.";
                label: "Size";
                max: 8;
                min: 1;
                step: 0.1;
                type: "float";
                unit: "px";
            };
        },
    > = ...

    Monochrome film grain: value noise (cells of size px) added to the straight sRGB-encoded colour, scaled by a midtone-weighted response so shadows and highlights stay cleaner, like film. Deterministic for a given seed.