rullino
    Preparing search index...

    Variable shadowsHighlightsConst

    shadowsHighlights: PointwiseFilter<
        {
            highlights: {
                default: 0;
                description: "Negative darkens bright areas, positive brightens them.";
                label: "Highlights";
                max: 1;
                min: -1;
                step: 0.01;
                type: "float";
            };
            shadows: {
                default: 0;
                description: "Positive lightens dark areas, negative deepens them.";
                label: "Shadows";
                max: 1;
                min: -1;
                step: 0.01;
                type: "float";
            };
        },
    > = ...

    Global shadows / highlights on OKLab lightness: L' = L + s·L(1−L)² + h·L²(1−L), with L clamped to [0, 1] inside the weights. The shadow term peaks at L = 1/3, the highlight term at 2/3; black, white and HDR values above white do not move, and the curve stays monotone for |s|, |h| ≤ 1. (A local, detail-preserving version is tier B "brilliance".)