Nodes · Atelier
CelLayer
Atelierv1core
Overview
One cel-shaded layer of an element, the anime way: the element's alpha is blurred (Detail), cut to a hard shape at a threshold, filled with a colour that is brightest in the middle and falls off toward the edge, then graded. Stack several at different thresholds and colours for the layered core / mid / rim look, or use Stylize2D, which stacks them for you. Input 1 (cutout) confines the layer; with nothing in it the layer is not cut.
How to
How-to
- Wire the element (a fire render, an energy strand, a smoke puff) into the first input. The layer reads its alpha.
- Set
thresholdandinvertto pick the part this layer is. With invert on and a high threshold, it is only the dense core. - Set
initial_color. HDR values above 1 bloom in a glow afterwards. - Shape the fill with
blur_sizeandblur_contrast, and finish withgainandgamma. - Stack several Cel Layers on the same element at different thresholds and colours, merged with plus or over: the rim, the mid and the core.
- To confine a layer, wire a matte into the second input (cutout).
Where it comes from
In order, the node does: a blur, a hard threshold, a colour, an interior gradient clipped inside the shape, a gain and gamma, the cutout, a premultiply. Stylize2D stacks up to four of these on one element, with outlines and glow.
An empty cutout input cuts nothing.
Inputs
| Input | What it takes |
|---|---|
| main | — |
| cutout | — |
Outputs
| Output | Type |
|---|---|
| out | Image |
Parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
| detail | Float | 18.0 | How much the element is simplified before the cut: a gaussian blur of its alpha, size as in Blur. Bigger gives blobbier, simpler shapes. |
| threshold | Float | 1.0 | Where the hard edge falls on the blurred alpha. Off: the layer is the part below the threshold. With invert on: the part above it (the dense core at a high threshold). |
| invert | Bool | false | Off keeps the blurred alpha below the threshold, on keeps it above it - the dense core at a high threshold. |
| initial_color | Color | [0.09, 1.1, 1.78, 1.0] | The layer's colour. Values above 1 bloom through a glow. |
| blur_size | Float | 48.5 | The interior gradient's reach: the hard shape is blurred by this much and the colour is multiplied by it, so the fill fades from the middle toward the edge while the edge stays crisp. |
| blur_contrast | Float | -0.012 | Pushes the interior gradient's faint edge down (a Grade black on its alpha): more negative, a tighter bright middle. |
| gain | Float | 1.52 | Brightness of the finished layer. |
| gamma | Float | 0.81 | Gamma of the finished layer: below 1 darkens the falloff toward the edge, above 1 lifts it. |
| disabled | Bool | false | Bypass: the node passes its first input through untouched (D in the graph). The knobs keep their values for when it comes back. |
| label | Text | A note shown under the node in the graph — what this node is FOR. Never affects the render or the cache. | |
| hide_input | Bool | false | Draw the node without its input wire — a tidy graph for a node whose source is obvious (a Dot, a viewer tap). |
