Kiln
Smoke, fog and fire simulated on the GPU and rendered in the shot: pick a preset, play it, light it, render it.
Kiln is Forged's gas simulator: smoke, fog, steam, fire and energy effects. It solves on the GPU and renders through the same 3D renderer as the rest of the scene. There are two ways into it:
- Kiln is a 3D scene node. The gas lives in the 3D viewport beside your cameras, cards and geometry, and a Render3D puts it in the comp.
- KilnRender is the 2D version. Wire it straight between a Read and a Merge. It owns its own sim and renders it over the plate through the shot's camera.
Getting started
- Add a Kiln (Tab, type "kiln").
- On the node's panel, open Presets and pick one. Ground fog, Forest fog bank, Campfire and Chimney are good first looks.
- Press play. The sim steps as the playhead moves, on the GPU when there is one, and the viewport shows it live.
- Look at the badge at the top of the panel:
GPU · 128×64×128 · 3.1 ms/step · … · frame 24. It tells you where the sim runs, its grid, and what one step costs. - To see it in the comp, wire the scene into a Render3D.
A preset's preroll runs the sim before the first frame, so fog is already settled when the shot starts. The preroll runs at half the resolution and is resampled up at the first frame (preroll_coarse, on by default: an eighth of the work, a touch softer for the first frames), so even a long preroll shows frame 1 in seconds. Switch it off for a bake that must match an older one made at full resolution.
While the sim catches up to the playhead, a paused viewport keeps the picture it has; the panel's badge counts the frames. Press play and it follows the newest frame the sim has reached.
With Unreal
In a live Unreal session a new Kiln (from the Tab menu, or the live panel's ⬢ Forged menu) lands 4 m in front of where the Unreal camera is looking, in Forged's own 3D space. Nothing is added to the level: the gas is Forged's, and the 3D viewport draws it over the Unreal stream. For the comp, put the stream into the graph with an UnrealLive node and give its depth to a KilnRender as the holdout, so the gas sits behind the level's walls and actors.
The level's meshes can be the sim's colliders and emitters. In a Shape's collide_mesh or emit_mesh picker every mirrored actor with a mesh is listed as ue:<its name>; pick one and Unreal streams its triangles into Forged, a character skinned every frame, so the gas flows around the actor as it moves (or pours out of it). Nothing else about the actor crosses: it stays Unreal's.
The panel
The panel is in tabs, in the order you usually work:
- Sourcing: the emitter's shape, position, size and what it injects:
emit_density,emit_temperature,emit_fuel,emit_paintandemit_color. - Simulation:
resolutionand the domain size (size_x,size_y,size_z),buoyancy,dissipation,wind_x,turbulence, and combustion for fire. - Output: how the gas looks and renders:
renderer,spp,bounces,denoise,smoke_albedo,scatter_byand the energy ramp. - Transform and Advanced: placement in the scene, and the numbers you rarely need.
- Randomized (on the Simulation node inside): every random range, seed and modulation curve in the network, in one list, with a reseed button beside each seed.
resolution is the voxel count along the longest side. Doubling it is eight times the voxels and at least eight times the cost. Tune the look at a low resolution and raise it for the final: changing it on a playing sim keeps the gas (it is resampled onto the new grid and carries on, a little softer for a frame or two), so there is no preroll to sit through again. Changing the box's size still restarts. fine_ratio = 2 on the Simulation keeps the density at twice the velocity resolution: much finer wisps for about the same solve, but heavier playback, so it is off until you want to judge the look.
The network inside
Every Kiln holds a network of its own, laid out the way a fluid package lays one out. Double-click the tile (or select it and press I or Enter) to go in, and U to come back. Tab inside offers only the sim's own nodes.
- Shapes (a primitive, a file, a scene node) feed Emitters, and emitters feed the Simulation. A second emitter is a second source, with its own shape, colour and paint. Each emitter's channels have a mode: add piles density up over time, add clamped stops at a ceiling, replace sets it, couple drives it toward a target.
- Forces (Wind, Noise, Disturbance, Shredding, Sharpen, Vorticles, Vortex, Point force, Sink, Drag, Line, Toroidal, Vector field, Spline follow) go into the Simulation's
forcesto act on the whole box, or into an Emitter'sforcesto act only over that emitter's volume: a sphere, a box, a jet's cone, or the Shape wired into it. A matte, mesh or particle emitter has no fixed volume (its footprint arrives every frame), so a force wired into one is accepted but idle, and the badge says so; give that force a Mask Shape on the Simulation instead. - Wires. Drag from a node's output onto a port, or onto the card and it takes the first port that fits. To take a wire off: click it and press Delete, right-click it, or drag its input end off the node and let go in the empty (let go on another port and it moves there). Hold Y and drag across several wires to slice them all.
- Vorticles are the fire's roll-ups: small vortex particles born in a region and carried by the gas.
vort_shapesays where they are born (the box, the whole domain, a sphere, a line, or a spiral around that line),vort_axiswhich way each swirls (any direction, flat for the horizontal roll-ups a puffing fire makes, up to spin the plume, or along the line), andvort_followhow much of the gas's motion they take (1 rides it, 0 stays put). - A Shape wired into a force's
masksport limits the force to that shape. Select the force and the viewport draws its masks in violet, with a dimmer outline showing how far the mask's soft edge reaches. Select a Shape and it draws in yellow. Emitters, winds, colliders and placed forces all have a gizmo in the viewport: move it there or type the number, both ways. - Colliders take a Shape; the gas flows around it. A Particle emitter's
spray_collidesays what its particles do at a collider: fly through, die there, stop and let the gas carry them on, bounce (withspray_bounceof their speed), or slide along it. - The look is a chain after the Simulation: Volume Processing (threshold, gain and gamma per channel, each with a histogram strip showing where the gas sits; a Shape on its
masksport limits the remap to that shape, so you can thin the haze in one corner of the box and leave the rest), then Shading (the colours, the fire, and the lights: wire a Color, Color Gradient, Directional, Point or Ambient node into it), then the Scene (a Skybox and a Ground for the viewport only; the rendered image is the gas alone; a Camera card says which Camera3D the sim renders through, with Copy From Active taking the one the 3D viewport is looking through), then Export (a VDB, a render, or particles). - A knob inside that shows ↑ link is driven from the Kiln's panel, so one number is animatable from the outside.
- Presets are whole networks. Each group frame (Sources, Forces, Simulation, Look, Scene, Export) carries a note saying why its numbers are what they are. Presets keep the nodes you added yourself when you switch.
- You can add, remove or bypass a node while the sim plays. It keeps going from the gas on screen and blends the change in over a few frames; nothing restarts.
Ranges and curves
- Any knob that takes a range (a particle's life, size or speed, an ember's life, a debris piece's size) is a range slider: a middle and a spread. The Randomized page lists them all.
- Every emitter carries an activity curve (
emit_activity_curve, drawn on its card) over its own time:emit_activity_spanseconds from its first frame, the last value holding after. It scales what the emitter injects, so a source can ramp in, pulse, or die away without keying its knobs. A flat line at 1 is no curve. - A Particle emitter can fire a burst:
spray_burstparticles all at once on its framespray_burst_frame, and again everyspray_burst_everyframes (0 = once), on top of its rate or alone with the rate at 0. A puff, a pop, a volley. - A Particle emitter's spray carries four modulation curves, drawn on its card: size over the particle's life, injected speed over its life, the amount it injects over its life, and the birth rate over the emitter's own time (
spray_rate_spanis how many seconds that curve covers; past the end its last value holds, so a ramp-in holds and a burst stays out). A flat line at 1 is no curve; flat clears one.
Live and Final
renderer chooses how the gas is drawn:
- live is a fast ray-march for working. It is what the viewport shows while you tune.
- final is a path tracer: real multiple scattering, soft area lights, the fire lighting its own smoke, the HDRI importance-sampled.
sppis samples per pixel andbounceshow often light scatters.
Live is built to predict Final, and every preset is held to it within 35% brightness. The ⇄ A/B button renders the current frame both ways side by side, and says which way Live is off and which knob brings it closer.
Denoise (Output ▸ Final): off, spatial (a fast edge-aware filter), or ai (Intel Open Image Denoise, when it is installed beside the app). The status line under the knob says which one ran.
Big Final frames render in passes. A 4K frame at 256 spp is split into short GPU jobs, so it never trips the Windows two-second GPU watchdog. The picture is the same as one pass would give.
Lighting
The gas is lit by the scene's Light3D nodes (point, spot, distant, rect and dome), by the viewport's HDRI, and by the Light nodes wired into the network's Shading node (Directional, Point, Ambient), which light this gas only.
- A rect light is a real area light in Final: a softbox gives soft, even light, not a hot spot.
- In Final, scene geometry blocks light. Smoke under a roof or a canopy is in its shadow. Only geometry the camera can see is counted: a canopy just out of frame does not shade the fog under it.
light_gridcaches the lighting on a coarse grid in Live, so shadows inside the gas are soft and cheap.
Colouring smoke
There are three ways to colour smoke:
- Tint all of it. Smoke colour (Look, beside
smoke_albedo) colours every bit of the sim's smoke.smoke_albedostays the brightness; white leaves the smoke plain grey. The Coloured smoke preset is one teal source. - Dye it per emitter. Smoke colour (dye) on an emitter (
emit_color) colours the gas that emitter makes, withscatter_byset todye. Two emitters give two-tone smoke that mixes like dye (below). - Paint it through a ramp.
emit_paintwithscatter_byset topaint(below).
smoke_albedois how much light the smoke scatters back (0 = soot, 1 = white steam). The network's Shading card follows it as a grey until you set a smoke colour on the card (or wire a Color into it); from then on the card's colour is the smoke's.- Two colours mixing through a ramp: give each emitter an
emit_paint(0 to 1) and setscatter_bytopaint. The smoke takes its colour from the ramp at that value. - Any colours, mixing like dye: give each emitter an
emit_colorand setscatter_bytodye. Red and blue gas meeting turn purple, blue and gold turn green. White means "no dye", and a sim where every emitter is white carries none. The Colour smoke preset is three sources blown together. - Coloured smoke also tints what is behind it, in the composite.
Gathering gas into a ball
Gas in Kiln can't be squeezed, so a Point force only moves it around: it swirls toward the point and back out. To draw a cloud *into* a ball, use a Sink (Tab → Forces → Sink). Inside its sphere it takes away the gas's volume, so the air around flows in from every side and the cloud contracts.
- strength (per second): how fast the volume goes. 1–3 draws a metre-sized cloud into a ball in a second or two.
- gather (0–1): how much of what is drawn in the sink keeps. At 0 the ball stays as thin as the cloud was and fades as it shrinks. At 1 it keeps everything and gets denser and brighter as it fills, which is the energy-gathering look.
- consume (per second): eats the gas that reaches the middle quarter of the sphere. Without it a sink left on squeezes the gas toward a single point.
- ceiling (default 50): the density gather never pushes the gas past, so a strong sink left on can't gather without limit. Raise it for a hotter, denser core.
- The Point force has the same effect on its expansion dial: negative pulls volume in (a sink), positive pushes it out (a puff). It is 0 by default.
- Presets: Energy gather (sink) and Fireball gather. The original Energy gather and Spell orb are unchanged.
- A sink holds its whole sphere in the solve, even where there is no gas yet, so a very large sink costs time. Keep it about the size of the cloud it gathers.
Fog for a shot
The forest presets are built for hiding things in fog and revealing them:
- Forest fog bank is a dense wall fed from the back of the domain and carried forward by a slow breeze. Use it to hide something large behind the trees.
- Forest wisps are thin strands drifting through the frame.
- Forest floor fog is a low layer hugging the ground.
- Rolling fog billows slowly and thickens over its preroll.
Stack two Kilns (a bank behind, wisps in front) rather than making one do both. To reveal something, animate emit_density down, or push the fog aside with a Wind node animated inside the network.
Big shots
- A domain too big for the graphics card is paged: only the bricks with gas in them are kept on the GPU. The badge says GPU paged. A 512³ domain with a plume in it steps in about 20 ms using half a gigabyte.
- If the gas itself outgrows the card, the sim moves to the CPU (much slower) and a VRAM row on the panel says why, with the numbers. Lower
resolutionor make the domain fit the gas more tightly. - Record (the ● Record button under the badge, or
cache_mode= record) is the cache for comping: the first pass through the range simulates and keeps every frame, in memory up tocache_ram_gband on disk in the bake folder behind the playhead; the second pass plays from the cache and nothing is simulated again, so scrubbing and looping are instant. Reopen the comp and the frames on disk are still there. A changed sim knob records to its own files, so an old recording is never played for a new look. The badge says how many frames are in memory and on disk. Embers and debris play from memory; a frame that only exists on disk plays its gas alone. - For a final, ⚒ Bake the frames to disk. A baked sim plays at disk speed and renders without re-simulating.
bake_dirchooses where the bake (and the record) goes. - A live sim keeps its recent frames in memory so scrubbing and looping are instant: a few gigabytes of the newest frames, fewer when the machine is short of memory. A big sim at a high
resolutionwithfine_ratioon keeps only a handful; scrubbing further back re-steps from the nearest checkpoint. Bake it for a long loop. - The play-through cache (
cache_modeauto) and the preroll cache are temporary, like a plate's playback frames: they are deleted when the app closes, and anything a crash left behind is cleared the next time the app starts. Only a record or a bake keeps frames on disk.
When something looks wrong
- The badge says CPU reference. No GPU was found, or the gas outgrew it (see the VRAM row). If another application filled the graphics card (several heavy GPU apps open at once can), Forged rebuilds the GPU device once it recovers and carries on. There is no need to restart.
- A CFL row. The gas moves faster than the substep ceiling allows. Raise
max_substeps(slower) or lowerresolution. - Frames are black after a long preroll. Scrub back to frame 1 once so the sim restarts from the beginning.
- Fire looks like a flat glow. Use
renderer= final and light the scene. The fire is a light for its own smoke only in Final. - Fire looks blocky. Raise
resolution, setfine_ratioto 2, or bringsharpendown: at 2 it hardens every cell edge. - A force does nothing. Select it and look at the viewport: if it has a mask, the violet outline is where it acts. A file or scene mesh cannot mask yet; use a primitive Shape.
- The badge counts live edits. A knob or node changed while playing continues the sim from the gas on screen rather than restarting it, blending the change in over a few frames; changed while paused, the change lands whole on the next frame. Scrub back to frame 1 for a run from the start under the new numbers.
