Skip to content

Nodes · Comp

EdgeMix

Compv1core

Overview

Blend an element's edge into the plate, on the element's own wire. Two curves over the element's alpha weigh element and plate at each level of edge transparency; the node writes the element so that the ordinary Merge (over) after it gives that blend. Only the edge band changes; at the default curves nothing changes. Wire the element into in, what it will sit on into plate, and put it before the Merge, like BS_LightWrap.

Inputs

InputWhat it takes
inthe image this node works on
platethe original plate, for measurement
masklimits the effect to this matte — the engine's universal mask slot, applied for every node that declares it

Outputs

OutputType
outImage

Parameters

ParameterTypeDefaultWhat it does
channelsChoicergbaWhich channels this node writes; the rest pass straight through. allrgbargbalphanone
element_curveRamp2 stopsHow much of the element survives at each alpha, 0 (clear) to 1 (solid). Flat at 1 is the plain merge.
plate_curveRamp2 stopsHow much of the plate shows through at each alpha, 0 to 1. The straight line from 1 down to 0 is the plain merge; lift it to let more plate into the edge, or into the core.
edge_insideFloat4.0How far the edge band reaches into the solid core, in pixels. Nothing deeper is touched.
edge_outsideFloat4.0How far the band reaches into the transparent fringe, in pixels. Nothing further out is touched.
edge_softnessFloat2.0How softly the band's borders blend out, in pixels.
plate_colourFloat0.0Pull the plate's colour into the element's fringe - the soft colour bleed that seats an element. Limited to the edge band; 0 is off.
plate_blurFloat8.0How far the plate's colour is gathered from, in pixels, for plate colour.
luma_matchFloat0.0Bring the edge's brightness toward the plate's brightness around it. Limited to the edge band; 0 is off.
luma_radiusFloat16.0How far the plate's brightness is measured around each pixel, for luma match.
defringeFloat0.0Remove a dark or coloured fringe the element brought with it: the fringe's colour is pulled toward the element's own solid colour nearby. 0 is off.
edge_softenFloat0.0Soften the element's edge only, by this many pixels (its alpha too). 0 is off.
grainFloat0.0The plate's fine grain in the edge band, so a clean CG edge does not read as a cut-out. 0 is off.
viewChoiceelementelement is what leaves the node. result shows it over the plate as it will look; edge band shows the band; difference shows where the node changed anything. elementresultedge banddifference
mixFloat1.0How much of the change to apply: 1 all of it, 0 none.
disabledBoolfalseBypass: the node passes its first input through untouched (D in the graph). The knobs keep their values for when it comes back.
labelTextA note shown under the node in the graph — what this node is FOR. Never affects the render or the cache.
hide_inputBoolfalseDraw the node without its input wire — a tidy graph for a node whose source is obvious (a Dot, a viewer tap).