Skip to content

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

  1. Wire the element (a fire render, an energy strand, a smoke puff) into the first input. The layer reads its alpha.
  2. Set threshold and invert to pick the part this layer is. With invert on and a high threshold, it is only the dense core.
  3. Set initial_color. HDR values above 1 bloom in a glow afterwards.
  4. Shape the fill with blur_size and blur_contrast, and finish with gain and gamma.
  5. 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.
  6. 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

InputWhat it takes
main—
cutout—

Outputs

OutputType
outImage

Parameters

ParameterTypeDefaultWhat it does
detailFloat18.0How much the element is simplified before the cut: a gaussian blur of its alpha, size as in Blur. Bigger gives blobbier, simpler shapes.
thresholdFloat1.0Where 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).
invertBoolfalseOff keeps the blurred alpha below the threshold, on keeps it above it - the dense core at a high threshold.
initial_colorColor[0.09, 1.1, 1.78, 1.0]The layer's colour. Values above 1 bloom through a glow.
blur_sizeFloat48.5The 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_contrastFloat-0.012Pushes the interior gradient's faint edge down (a Grade black on its alpha): more negative, a tighter bright middle.
gainFloat1.52Brightness of the finished layer.
gammaFloat0.81Gamma of the finished layer: below 1 darkens the falloff toward the edge, above 1 lifts it.
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).