Skip to content

Nodes · Blacksmith

BS_DayToNight

Blacksmithv1coreForge

Overview

Day-for-night that reads as night, not as a dark blue day. Moves the white point toward moonlight instead of tinting, simulates the Purkinje shift (rods desaturate warm hues faster than cool ones as light falls), and protects practical lights from the exposure drop so lamps stay on and warm. Every analysis matte is viewable from the view dropdown — it is never a black box.

How to

How-to

  1. Wire the day plate; wire a night sky if you have one (else the node darkens the sky it finds).
  2. Set exposure_drop in stops and moonlight for the blue cast; purkinje desaturates reds the way night vision does.
  3. Raise practical_threshold until only real lamps qualify, then practical_warmth and practical_protect to keep them lit.
  4. crush buries the shadows; intensity dials the whole conversion.
  5. Check view = sky matte and practical matte before trusting the result.

Inputs

InputWhat it takes
inthe image this node works on
sky—

Outputs

OutputType
outImage

Parameters

ParameterTypeDefaultWhat it does
viewChoiceresultThe display transform for viewing only — it never changes the pixels in the graph. resultsky mattepractical matte
intensityFloat1.0How strong the added effect is.
exposure_dropFloat3.5How many stops darker the night is than the day. 3.5 is a moonlit exterior; 6 is a black night.
moonlightFloat0.7How blue the ambient becomes — the moonlight colour cast on everything that is not a practical.
purkinjeFloat0.75The Purkinje shift: at night the eye loses red first, so reds fall and blues hold. 0 ignores it, 1 is full night vision.
sky_darkenFloat0.8How much darker the sky goes than the ground (it has no practicals and holds no bounce): 0 treats it as the rest, 1 blacks it.
practical_thresholdFloat0.45Luminance above this counts as a practical — a lamp, a window — and is protected from the drop.
practical_warmthFloat0.8How warm the practicals are pushed, so they read as lit lamps against the blue night.
practical_protectFloat0.85How fully a practical keeps its day brightness: 1 keeps it, 0 lets it drop with the rest.
crushFloat0.5Crush the shadows toward black — 0 keeps the day's shadow detail, 1 buries it the way night does.
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).

See also