rullino
    Preparing search index...

    Variable embossConst

    emboss: MultipassFilter<
        {
            angle: {
                default: 135;
                description: "Direction of the light, counter-clockwise from the right. Edges facing the light rise.";
                label: "Light angle (°)";
                max: 360;
                min: 0;
                step: 1;
                type: "float";
            };
            distance: {
                default: 1;
                description: "How far apart the compared pixels are, in pixels. Larger gives a thicker relief.";
                label: "Distance (px)";
                max: 10;
                min: 1;
                type: "int";
                unit: "px";
            };
            mode: {
                default: "grey";
                description: "Grey shows the relief on mid grey; Colour adds it to the picture's colours.";
                label: "Surface";
                options: { color: "Colour"; grey: "Grey" };
                type: "enum";
            };
            strength: {
                default: 1;
                description: "How deep the relief looks.";
                label: "Strength";
                max: 4;
                min: 0;
                step: 0.01;
                type: "float";
            };
        },
    > = ...

    Relief: the luminance gradient (central differences distance px apart, sRGB-encoded) projected on the direction of the light, angle degrees counter-clockwise from the right. Edges facing the light rise, the others sink. Grey mode shows the relief on mid grey, colour mode adds it to the colours. Alpha is kept.