rullino
    Preparing search index...

    Variable chromaticAberrationConst

    chromaticAberration: MultipassFilter<
        {
            amount: {
                default: 4;
                description: "How far red and blue move apart at the corners, in pixels; zero in the centre. Negative reverses the direction.";
                label: "Shift at the corners (px)";
                max: 20;
                min: -20;
                step: 0.1;
                type: "float";
                unit: "px";
            };
        },
    > = ...

    Lateral chromatic aberration, as in a cheap lens: red is sampled radially outwards and blue inwards (or the reverse for negative amounts), by amount px at the corners and proportionally nearer the centre. Bilinear sampling of premultiplied values; green and alpha stay put.