rullino
    Preparing search index...

    Variable thresholdConst

    threshold: PointwiseFilter<
        {
            invert: {
                default: false;
                description: "Swap black and white.";
                label: "Invert";
                type: "bool";
            };
            level: {
                default: 0.5;
                description: "The brightness cut-off. Higher values leave less white.";
                label: "Level";
                max: 1;
                min: 0;
                step: 0.01;
                type: "float";
            };
        },
    > = ...

    Binary threshold on luminance. level is in sRGB-encoded (perceptual) units, so 0.5 means "middle of the slider" rather than 50% linear light. Output is black or white, alpha kept.