Skip to content

Nodes · Atelier

Stylize2D

Atelierv1core

Overview

The anime look on any element - a fire render, a stock flame on black, an energy strand, a smoke puff, a plate. A stack of up to four Cel Layers (each the Voxyde vx_filter: a blur, a hard cut at a threshold, a colour that is brightest in the middle, gain and gamma), with an exterior outline, interior lines, line boil, glow and timing on twos or threes. Pin in the passes you have (matte, depth, N, emission, light, id) and the lines and layers use them. Writes every pass beside rgba - cel.1 to cel.4, lines.ext, lines.int, glow, band_id - so the look can be rebuilt in a plain merge.

How to

How-to

  1. Wire the element into src. An element with alpha works as it is; for a fire or energy element on black with no alpha, set each layer's source to luminance.
  2. Set cel_count (1 to 4). Each layer is a Cel Layer: threshold and invert pick the part it is, color its colour, blur_size its gradient. The default is a rim, a mid and a core.
  3. Turn on outline for a line around the silhouette, and interior for lines where the layers meet. With depth, normal or id passes in the stream (or wired into their inputs), interior lines also follow overlaps and hard turns.
  4. Set step to 2 or 3 to animate on twos or threes. Add boil for lines that shift between drawings and wobble for a hand-drawn edge. Both hold still within a drawing.
  5. Raise glow_inner and glow_outer for the graphic glow on the layers marked glow.

Passes

Besides rgba, the node writes each layer (cel.1 to cel.4), the outline (lines.ext), the interior lines (lines.int), the glow (glow) and band_id (which layer is on top). Merging the layers in order, the interior lines over them, the outline over that and adding the glow gives back the picture, so the look can be rebuilt and adjusted pass by pass.

With no passes

An element on black with no alpha (a fire render saved without one, a stock flame) is keyed by its brightness when alpha_from is auto: key_low is out, key_high fully in. A layer reading emission or light with nothing wired gets them from the picture: emission is the brightness above emission_floor, and light is the brightness spread over the element so that a threshold lands in the same place on a dim element and a bright one. Interior lines on surface turns use normals read from the brightness (normal_detail, normal_strength). Wire a Fathom depth into depth for depth lines on a plate.

Inputs

  • src: the element. Its own depth, normal and cryptomatte layers are used when they are there.
  • matte: what a layer with cutout set to matte is confined to.
  • depth, N, id: for interior lines and the outline's taper. A wired input wins over the stream's own pass.
  • emission, light: what a layer with source set to emission or light cuts. A layer that asks for a pass nobody gives says so on the node.

Where it comes from

Each layer works as the CelLayer node does. Pixel sizes are in pixels at 1080p and scale with the picture, so a look carries across resolutions.

Inputs

InputWhat it takes
srcthe source image
mattethe alpha that drives this node
depth—
N—
emission—
light—
id—

Outputs

OutputType
outImage

Parameters

ParameterTypeDefaultWhat it does
cel_countInt3How many Cel Layers the stack has, 1 to 4. Layer 1 is at the bottom.
cel1_sourceChoicealphaCel Layer 1: What this layer cuts: the element's alpha, its luminance (an element on black with no alpha), the emission pass, or the light pass (shadow / base / highlight bands from real lighting). alphaluminanceemissionlight
cel1_thresholdFloat0.15000000596046448Cel Layer 1: Where this layer's hard edge falls on the blurred source. With invert on, the layer is the part above it - a high threshold is only the dense core.
cel1_invertBooltrueCel Layer 1: on keeps the part above the threshold, off the part below it.
cel1_detailFloat18.0Cel Layer 1: How much the source is simplified before the cut, in pixels at 1080p: bigger gives blobbier, simpler shapes.
cel1_colorColor[1.399999976158142, 0.25, 0.05000000074505806, 1.0]Cel Layer 1: This layer's colour. Values above 1 bloom through the glow.
cel1_blur_sizeFloat48.5Cel Layer 1: The fill's gradient, in pixels at 1080p: the colour is brightest in the middle and falls off toward the edge over this distance, while the edge stays crisp. 0 is a flat fill.
cel1_blur_contrastFloat-0.012000000104308128Cel Layer 1: Pushes the gradient's faint edge down: more negative, a tighter bright middle.
cel1_gainFloat1.5199999809265137Cel Layer 1: Brightness of this layer.
cel1_gammaFloat0.8100000023841858Cel Layer 1: Gamma of this layer: below 1 darkens the falloff toward the edge, above 1 lifts it.
cel1_cutoutChoicenoneCel Layer 1: What confines this layer: nothing, the matte input, the element's own alpha (keeps a light band on the element), or the layers below it (a highlight never leaves its base). nonematteelementbelow
cel1_mergeChoiceoverCel Layer 1: How this layer lands on the ones below it: over, plus (adds light), or screen. overplusscreen
cel1_glowBooltrueCel Layer 1: This layer feeds the glow.
cel2_sourceChoicealphaCel Layer 2: What this layer cuts: the element's alpha, its luminance (an element on black with no alpha), the emission pass, or the light pass (shadow / base / highlight bands from real lighting). alphaluminanceemissionlight
cel2_thresholdFloat0.3499999940395355Cel Layer 2: Where this layer's hard edge falls on the blurred source. With invert on, the layer is the part above it - a high threshold is only the dense core.
cel2_invertBooltrueCel Layer 2: on keeps the part above the threshold, off the part below it.
cel2_detailFloat18.0Cel Layer 2: How much the source is simplified before the cut, in pixels at 1080p: bigger gives blobbier, simpler shapes.
cel2_colorColor[1.7999999523162842, 0.8999999761581421, 0.15000000596046448, 1.0]Cel Layer 2: This layer's colour. Values above 1 bloom through the glow.
cel2_blur_sizeFloat48.5Cel Layer 2: The fill's gradient, in pixels at 1080p: the colour is brightest in the middle and falls off toward the edge over this distance, while the edge stays crisp. 0 is a flat fill.
cel2_blur_contrastFloat-0.012000000104308128Cel Layer 2: Pushes the gradient's faint edge down: more negative, a tighter bright middle.
cel2_gainFloat1.5199999809265137Cel Layer 2: Brightness of this layer.
cel2_gammaFloat0.8100000023841858Cel Layer 2: Gamma of this layer: below 1 darkens the falloff toward the edge, above 1 lifts it.
cel2_cutoutChoicenoneCel Layer 2: What confines this layer: nothing, the matte input, the element's own alpha (keeps a light band on the element), or the layers below it (a highlight never leaves its base). nonematteelementbelow
cel2_mergeChoiceoverCel Layer 2: How this layer lands on the ones below it: over, plus (adds light), or screen. overplusscreen
cel2_glowBooltrueCel Layer 2: This layer feeds the glow.
cel3_sourceChoicealphaCel Layer 3: What this layer cuts: the element's alpha, its luminance (an element on black with no alpha), the emission pass, or the light pass (shadow / base / highlight bands from real lighting). alphaluminanceemissionlight
cel3_thresholdFloat0.6000000238418579Cel Layer 3: Where this layer's hard edge falls on the blurred source. With invert on, the layer is the part above it - a high threshold is only the dense core.
cel3_invertBooltrueCel Layer 3: on keeps the part above the threshold, off the part below it.
cel3_detailFloat18.0Cel Layer 3: How much the source is simplified before the cut, in pixels at 1080p: bigger gives blobbier, simpler shapes.
cel3_colorColor[2.0, 1.899999976158142, 1.2000000476837158, 1.0]Cel Layer 3: This layer's colour. Values above 1 bloom through the glow.
cel3_blur_sizeFloat48.5Cel Layer 3: The fill's gradient, in pixels at 1080p: the colour is brightest in the middle and falls off toward the edge over this distance, while the edge stays crisp. 0 is a flat fill.
cel3_blur_contrastFloat-0.012000000104308128Cel Layer 3: Pushes the gradient's faint edge down: more negative, a tighter bright middle.
cel3_gainFloat1.5199999809265137Cel Layer 3: Brightness of this layer.
cel3_gammaFloat0.8100000023841858Cel Layer 3: Gamma of this layer: below 1 darkens the falloff toward the edge, above 1 lifts it.
cel3_cutoutChoicenoneCel Layer 3: What confines this layer: nothing, the matte input, the element's own alpha (keeps a light band on the element), or the layers below it (a highlight never leaves its base). nonematteelementbelow
cel3_mergeChoiceoverCel Layer 3: How this layer lands on the ones below it: over, plus (adds light), or screen. overplusscreen
cel3_glowBooltrueCel Layer 3: This layer feeds the glow.
cel4_sourceChoicealphaCel Layer 4: What this layer cuts: the element's alpha, its luminance (an element on black with no alpha), the emission pass, or the light pass (shadow / base / highlight bands from real lighting). alphaluminanceemissionlight
cel4_thresholdFloat0.800000011920929Cel Layer 4: Where this layer's hard edge falls on the blurred source. With invert on, the layer is the part above it - a high threshold is only the dense core.
cel4_invertBooltrueCel Layer 4: on keeps the part above the threshold, off the part below it.
cel4_detailFloat18.0Cel Layer 4: How much the source is simplified before the cut, in pixels at 1080p: bigger gives blobbier, simpler shapes.
cel4_colorColor[1.0, 1.0, 1.0, 1.0]Cel Layer 4: This layer's colour. Values above 1 bloom through the glow.
cel4_blur_sizeFloat48.5Cel Layer 4: The fill's gradient, in pixels at 1080p: the colour is brightest in the middle and falls off toward the edge over this distance, while the edge stays crisp. 0 is a flat fill.
cel4_blur_contrastFloat-0.012000000104308128Cel Layer 4: Pushes the gradient's faint edge down: more negative, a tighter bright middle.
cel4_gainFloat1.5199999809265137Cel Layer 4: Brightness of this layer.
cel4_gammaFloat0.8100000023841858Cel Layer 4: Gamma of this layer: below 1 darkens the falloff toward the edge, above 1 lifts it.
cel4_cutoutChoicenoneCel Layer 4: What confines this layer: nothing, the matte input, the element's own alpha (keeps a light band on the element), or the layers below it (a highlight never leaves its base). nonematteelementbelow
cel4_mergeChoiceoverCel Layer 4: How this layer lands on the ones below it: over, plus (adds light), or screen. overplusscreen
cel4_glowBooltrueCel Layer 4: This layer feeds the glow.
growFloat0.0Grows (positive) or shrinks (negative) every layer's shape, in pixels at 1080p.
min_sizeFloat0.0Removes specks smaller across than this, in pixels at 1080p. 0 keeps everything.
wobbleFloat0.0Wobbles every shape by up to this many pixels (at 1080p), changing only between drawings - a hand-drawn edge that does not swim.
wobble_scaleFloat40.0How big the wobble's waves are, in pixels at 1080p.
outlineBoolfalseDraws a line around the whole silhouette.
outline_widthFloat3.0The outline's width in pixels at 1080p. It stays exact at any width.
outline_colorColor[0.019999999552965164, 0.014999999664723873, 0.029999999329447746, 1.0]The outline's colour when outline_rule is fixed.
outline_ruleChoicefixedThe outline's colour: fixed (outline_color), darken (the fill it borders, darkened by outline_darken), or layer (the colour of the layer it borders). fixeddarkenlayer
outline_darkenFloat0.25With outline_rule darken: how dark the line is against the fill it borders. 0 is black, 1 the fill's own colour.
outline_sideChoiceoutsideWhere the line sits: outside the shape, inside it, or centred on its edge. outsideinsidecentre
outline_taperFloat0.0Thins the outline with distance: 0 keeps one width, 1 makes it fall with depth. Needs a depth pass, in the stream or the depth input.
interiorBoolfalseDraws lines inside the shape: where the layers meet, and where the id, depth, normal or luminance steps.
interior_widthFloat1.5The interior lines' width in pixels at 1080p.
interior_colorColor[0.019999999552965164, 0.014999999664723873, 0.029999999329447746, 1.0]The interior lines' colour.
layer_edgesFloat1.0Strength of the lines where one Cel Layer meets the next, 0 to 1.
id_edgesFloat1.0Strength of the lines where the object id changes (the id input or the stream's cryptomatte), 0 to 1.
depth_edgesFloat0.800000011920929Strength of the lines where depth jumps (an overlap), 0 to 1. Needs a depth pass.
normal_edgesFloat0.6000000238418579Strength of the lines at hard turns of the surface, 0 to 1. Needs a normal pass.
luma_edgesFloat0.0Strength of the lines where the picture's own brightness steps, 0 to 1 - for elements with no passes.
depth_thresholdFloat0.03999999910593033How big a depth jump draws a line, as a fraction of the depth.
normal_thresholdFloat0.30000001192092896How sharp a turn of the surface draws a line.
luma_thresholdFloat0.3499999940395355How strong a brightness step draws a full line.
boilFloat0.0Line boil: the lines shift by up to this many pixels (at 1080p) from one drawing to the next, and hold still within a drawing.
boil_scaleFloat24.0How big the boil's waves are, in pixels at 1080p.
boil_everyInt1Boil on every n-th drawing: 2 keeps each line for two drawings.
stepChoice1Animate on ones, twos, threes or fours: every frame of a drawing is the same picture, read at the drawing's first frame - keyed knobs included. 1234
step_offsetInt0Shifts which frames start a drawing.
holdsTextFrame ranges to hold on their first frame, like 12-18, 40-44 - an impact pose held still.
glow_innerFloat0.0Strength of the hard glow inside the shape, from the layers marked glow.
glow_inner_sizeFloat6.0Size of the inner glow, in pixels at 1080p.
glow_outerFloat0.0Strength of the soft bloom around the shape, from the layers marked glow.
glow_outer_sizeFloat60.0Size of the outer bloom, in pixels at 1080p.
mixFloat1.01 is the stylised picture, 0 the source; between, a blend of the two.
alpha_fromChoiceautoWhere the element's alpha comes from: auto keys an element on black that has no alpha by its luminance and reads the alpha otherwise; alpha always reads it; luminance always keys. autoalphaluminance
key_lowFloat0.02The luma key: brightness below this is out.
key_highFloat0.25The luma key: brightness above this is fully in.
emission_floorFloat0.2With no emission pass: emission is the brightness above this.
normal_detailFloat6.0With no normal pass: how much the brightness is smoothed before it is read as a surface, in pixels at 1080p.
normal_strengthFloat4.0With no normal pass: how steep that surface is.
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).