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
- Wire the day plate; wire a night
skyif you have one (else the node darkens the sky it finds). - Set
exposure_dropin stops andmoonlightfor the blue cast;purkinjedesaturates reds the way night vision does. - Raise
practical_thresholduntil only real lamps qualify, thenpractical_warmthandpractical_protectto keep them lit. crushburies the shadows;intensitydials the whole conversion.- Check
view = sky matteandpractical mattebefore trusting the result.
Inputs
| Input | What it takes |
|---|---|
| in | the image this node works on |
| sky | — |
Outputs
| Output | Type |
|---|---|
| out | Image |
Parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
| view | Choice | result | The display transform for viewing only — it never changes the pixels in the graph. resultsky mattepractical matte |
| intensity | Float | 1.0 | How strong the added effect is. |
| exposure_drop | Float | 3.5 | How many stops darker the night is than the day. 3.5 is a moonlit exterior; 6 is a black night. |
| moonlight | Float | 0.7 | How blue the ambient becomes — the moonlight colour cast on everything that is not a practical. |
| purkinje | Float | 0.75 | The Purkinje shift: at night the eye loses red first, so reds fall and blues hold. 0 ignores it, 1 is full night vision. |
| sky_darken | Float | 0.8 | How 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_threshold | Float | 0.45 | Luminance above this counts as a practical — a lamp, a window — and is protected from the drop. |
| practical_warmth | Float | 0.8 | How warm the practicals are pushed, so they read as lit lamps against the blue night. |
| practical_protect | Float | 0.85 | How fully a practical keeps its day brightness: 1 keeps it, 0 lets it drop with the rest. |
| crush | Float | 0.5 | Crush the shadows toward black — 0 keeps the day's shadow detail, 1 buries it the way night does. |
| 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). |
See also
- The Blacksmith family — Tools that do a whole job instead of a whole operation.