Skip to content
Manuals & Docs

Teaching fire to be thin

How we rebuilt the look of flame in Kiln, the fire and smoke simulator inside Forged, and why the answer was in the shading and the controls long before it was in the solver.

A campfire simulated in Kiln: separate tongues of flame rising between crossed logs, with coals glowing at the base.
Tool
Kiln, the gas simulator built into the Forged compositor
Hardware
One artist workstation, one mid-range desktop GPU
Subjects
Burning objects, a spreading wall fire, a campfire, a fireplace
Every picture here
Rendered in Kiln, straight out of the viewer, no paint or comp work on top

The problem

Our fire moved well and still looked wrong

For a long stretch the notes on Kiln's fire were all about motion. We tuned lift, swirl, expansion and burn speed, and the fire moved more and more like the real thing. It never stopped looking like a lit balloon.

The turning point was a note from the artist driving the work, after two days of simulation tuning that had not landed:

The motions and the way things move look fine. This is not the issue. Right now all ours just look like thick dense fires.

Lead artist, Forged Studios

That sentence moved the whole effort. If the motion was right and the picture was wrong, the fault was in how the fire was being drawn. A simulation hands the renderer a cloud of numbers. What you do with those numbers decides whether the audience sees a flame or a glowing fog.

A burning sphere rendered as a dense opaque orange bulb.
Before. Correct motion, wrong picture. You cannot see into the fire, so you cannot read the shape of the sphere inside it.

Why it happens

The usual way to light a fire volume is to make every bit of it glow in proportion to how much flame is there. It sounds physical, and frame by frame it looks plausible. The trouble is depth. The camera looks through a meter of fire, every centimeter of it glowing, and all of that light adds up along the eye line. Wherever the fire is thick, the picture goes to a flat, solid color.

Look at footage of a real wood fire and you see the opposite. Flame is thin. The light comes from narrow fronts where fuel and air actually meet, and the gas on either side of the front is nearly dark. You see through one tongue to the tongue behind it. A real fire is a stack of bright, see-through sheets with darkness between them, and that darkness is what gives it form.

So the brief became simple to say and hard to do: stop drawing the volume, and draw the sheets.

The look

Flame sheets

We changed what carries the light. In the sheet look, Kiln does not light a flame in proportion to its strength. The artist chooses which part of the flame is bright, and everything outside that choice goes dark and clear. The bright part can be made narrow, and a narrow choice through a turbulent flame is a thin, folded surface. Stack a few hundred of those in depth and the fire has layers you can see through.

Below, a sphere lit from below: on the left in the old look, on the right as Kiln draws it now, with the sheet look and the fixes described further down.

A burning sphere in the old look: a dense opaque orange bulb.
Before. One solid glow. The sphere is lost inside it.
A sphere burning in the sheet look: thin layered flames rising off a charred lower half, a glowing ring where the fire is climbing.
Now. See-through sheets of flame, the char under them and the glowing ring of the front all read at once.
The sheet look is dimmer in total light and far richer in shape. The burning surface underneath becomes visible again, which matters as soon as the fire has to sit on an object in a shot.

When the first sheet render came up in the viewer, the reaction was the one we had been chasing:

This is exactly what I have been looking for.

Lead artist, Forged Studios

Three things that had to be true

The bright part must follow the flame, not the heat. Our first attempts keyed the look off temperature. Heat lingers. It drifts up and out long after the burning has stopped, so a look built on heat lights the warm air round the fire and you get a glowing halo. The sheets only appeared once the look followed the burning itself.

The flame under it must be clean. A thin slice is unforgiving. Any speckle in the burn shows up as dust floating in the fire. Part of the work was making sure the thing being sliced was smooth where it should be smooth and broken only where the fire is really breaking.

Exposure must stay fixed while you judge it. Matching brightness to a reference frame by frame washes the color toward cream and hides whether the look is working. We settled on a locked exposure for every comparison and judged on full-size frames only. Contact sheets lie about fire. The detail that makes it real is smaller than a thumbnail can hold.

The controls, part one

The ramp that decides what burns bright

The sheet look is driven by one control an artist already understands: a ramp. Read it left to right as the flame from its faintest to its strongest. The height and color of the ramp at each point say how much light that part of the flame gives off, and in what color.

A ramp that rises all the way is the old look, where the strongest flame is the brightest and the whole fire fills in. A ramp that is dark at both ends and bright only in a band is a sheet look.

Two ramps. The first rises steadily from faint flame to strong flame and gives a solid fire. The second is dark at both ends and bright in a band, and gives sheets.
Two ramps, one simulation. The shapes here are drawn to show the idea and are not the shipping values. Where the band sits, how wide it is and how its color runs are the artist's to set.

Where the band sits depends on the fire

This was the finding that took longest, and it is the one we would pass on to any artist lighting fire.

Small fires want the faint end lit. On a candle or a small open flame, a band low on the ramp picks out the delicate outer skin of each tongue. That is the part of a small flame the eye reads.

Big fires want the strong flame lit. Put that same low band on a burning wall and it lights the fringe of every tongue at once. The fire turns to fur over a haze. Move the band up to the strong part of the flame and the fur goes away. What is left is broad, confident sheets with real darkness between them.

There is no single correct fire ramp. There is a ramp for the size of fire you are making, and the presets that ship with Kiln each carry one that was judged on full-size frames for that subject.

Three ways to feed the ramp

The ramp can be fed in three ways, and the choice changes the character of the fire more than any color does. One mode ties the amount of light to the smoke round the flame, which suits a sooty fire. One ties it to the flame's own strength. The third gives the same light wherever there is flame at all and lets the ramp alone shape it, which turned out to be the cleanest look for flames on a burning object. All three are a single menu on the look controls, so trying each on a shot takes seconds.

Sharpening that respects the flame

The look controls carry a render-time sharpen with a separate amount for the flame, plus a shredding control that breaks long sheets into ragged ones. They work at render time on the picture of the fire, so an artist can push a soft flame toward a crisp one without simulating again.

The controls, part two

Every setting can change over a flame's life

A young flame and a dying flame are different materials. Fresh off the fuel, a flame is fast, hot and tight. A second later it is slower, cooler, wider and breaking up. A simulator that gives you one number for lift and one number for swirl is asking you to pick a compromise between those two states, and the compromise always looks like a compromise.

Kiln's answer is the setting ramp. Each of the main simulation settings has a small switch beside it. With the switch off, the setting is a plain number, as in any simulator. Switch it on and the number becomes a curve drawn over the flame's life, from the moment it lights on the left to the moment it dies on the right.

The Kiln properties panel showing buoyancy switched to a ramp: a curve editor labelled 'over flame life' with three keys, rising to a peak near the middle and falling to zero at the end.
Buoyancy as a ramp in the Kiln panel. The slider still sets the overall amount. The curve under it says how that amount is spent across the flame's life. Here the lift builds through the first half and lets go completely at the end, so the dying flame stops climbing and hangs.

Eight settings can be ramped this way. Each one answers a question an artist would ask about a real fire.

SettingWhat ramping it gives you
buoyancyFlames that leap off the fuel and then hang, or that start lazy and accelerate as they climb.
vorticityA clean base with curl arriving only at the tips, the way a tall flame stays smooth low down and rolls at the top.
turbulenceBreak-up that grows with age, so young flame holds its shape and old flame tears.
dragTips that slow and linger without slowing the body of the fire.
coolingHow fast the flame gives up its heat at each stage, which sets how tall the visible fire stands.
dissipationWhether the flame thins out early or stays full until the last moment.
expansionThe outward push of burning gas, strong at ignition and easing off, or held all the way up.
burn chaosHow uneven the burning is, from a steady young flame to a ragged old one.
Three example setting ramps over a flame's life: lift that builds then releases, swirl that arrives late, and expansion that is strongest at ignition.
Three ramps that describe one flame. Illustrative shapes. Read together they say: it bursts outward as it lights, climbs fast, starts to roll, then loses its lift and hangs. That is a sentence an artist can direct, and each clause is one curve.

Built to be used, not admired

A curve editor that is slow to use does not get used. The ramp editor in Kiln is the same one used across Forged, so nothing has to be learned twice. Click the graph to add a key and press a key to edit it. Each key has its own interpolation, so one ramp can hold a hard step and a soft ease. A templates menu drops in common shapes as a starting point, and a reset arrow puts the setting back to a plain number.

The slider beside every ramp stays live. It scales the whole curve, so an artist can find the shape once and then ride a single slider for the rest of the shot. Because the ramps are ordinary knobs, they can be animated and saved in presets like everything else.

Detail sizes are in real units. A break-up size is given in centimeters, not in grid cells, so a look survives a change of resolution. This sounds like bookkeeping. In practice it was the difference between a fire that held its character when we raised the resolution and one that turned to fur, because detail tied to the grid shrinks every time the grid gets finer.

Putting it to work

Fire that spreads across a thing

A fire in a shot is rarely a fire in space. It is on something. Kiln's burn tools let an artist take any object, choose where it lights, and let the fire travel across the surface. The surface chars behind the front and glows as coals after the flame has moved on.

Two presets carry the sheet look onto burning objects. In the first, a wall is lit low on its face and the fire climbs it and spreads across it. In the second, a sphere is lit from below and the fire wraps up and round it.

Six frames of a plaster wall catching fire: a small burn low on the face grows into a charred patch with a glowing edge and flames, and covers the wall in five seconds.
Wall catching. Six frames across five seconds. The clean plaster ahead, the glowing edge of the front and the char behind it all come from the same burn. The plaster is a scan used for this test; the preset ships with the wall bare, for an artist's own texture.
Wall, in motion. Five seconds from the viewer.
Sphere, in motion. Five seconds: the ring of fire climbs the ball evenly, the flames standing just behind it, and the lower half is left charred.
Six frames of a sphere lit from below: a glowing ring starts at the base and climbs the ball, flames rising off it, until the whole ball is burning.
Sphere, lit from below. Six frames across five seconds. The object stays readable through the fire for the whole burn, which the old look could never do.

Carrying the look from a test flame to a burning object was not a copy and paste. The ramp that suited the small test flame put fur on the wall, which is how we learned the rule about band position above. The break-up sizes that worked at one scale were wrong at another until they were set in real units. Each of these became a control or a default, so the next artist does not have to find it again.

A harder subject

The campfire

A campfire is a harder test than a wall, because everybody has stared into one. People know that the flames come up between the logs in separate tongues, that you can see the dark wood through them, and that the base glows red. A cone of flame sitting over a pile of sticks will not pass.

We built it the way the real thing is built. The preset makes a small pile of sticks, laid as a teepee over two crossed base logs. Every stick is its own burning object. Each one lights at its lowest point and the fire climbs it.

The stick pile shown from three-quarter, side and top views: five leaning logs over two crossed base sticks.
The pile. Three views of the fuel before it is lit. Every stick is a separate object with its own fire, so an artist can move, add or remove sticks and the fire follows.

It took three steps to get from a fire on a pile to a campfire.

A campfire rendered as one solid bell of flame that hides the logs.
Step oneThe bell. Every stick burning all over. The flames merge into one shape and the logs vanish inside it.
The campfire with dark logs now visible through the flame.
Step twoThe logs come back. The outward faces of each log stay as wood, so the fire burns in the heart of the pile and the logs stand in front of it.
The campfire with separate tongues of flame rising between visible logs.
Step threeTongues. The wood burns unevenly along its length, as real wood does, so the flame comes up in separate lanes that hold their place.

Step three is the one that sells it. In a real fire the tongues are not random. They come from the same cracks and gaps for minutes at a time, because that is where the fuel is. Once the wood in Kiln burned unevenly in a fixed pattern, the flames organized themselves into lanes without any change to the gas settings. It was the same lesson as the sheets. The picture got better when we stopped adjusting the gas and looked at what the fire was made from.

Five frames of the campfire across ten seconds, the tongues shifting while the logs stay visible.
Ten seconds of campfire. The tongues lean and trade places, and the logs stay readable throughout.

The fireplace

A fire in a hearth burns differently again. Three logs lie across each other and each one burns along its length. The flames stand on the wood and die out a short way above it, under a column of smoke. The setup came from our lead artist's own scene: each log is a shape that feeds its own fire, so moving or turning a log moves its fire with it.

A fireplace fire: short, dense orange flames standing on crossed logs, with tongues breaking off above and smoke rising.
Fireplace, three seconds in. Short, dense flames that stand on the wood, with smoke rising above them. The logs feed the fire and are left out of this render.
Fireplace, in motion. Four seconds from the viewer.

The wall, start to finish

Three things a longer burn taught us

Short test scenes are forgiving. When we ran the wall fire for a full five seconds and looked at it frame by frame, three problems showed up that no test had shown. The wall preset carries all three fixes.

A fire that blew itself apart

About four seconds in, an oval cleared in the middle of the fire. A few frames later a ball of flame rolled off the wall. It read as the fire dying and then exploding, and it happened the same way on every run.

The cause was the outward push of burning gas. Every flame was pushing along its whole length, and the simulation box was closed on its sides, so the gas had too few ways out. The push fed on itself until it tore the fire open. Running the solver with finer steps made it happen sooner, which told us it was not a precision problem.

Two changes stopped it. The push now comes only from where fuel is actually burning, and the box is left open on every side, so air comes and goes as it does outdoors. The fire then burns steadily to the last frame.

Flames hidden behind their own glow

The burning edge had its bright line, but the flames seemed to start well inside it, behind a dark smoky band. We tried hotter fuel, faster heating, no smoke at the edge and a different color for young flame. None of it moved the flames.

The flames had been at the edge all along. The flame was set dense enough to block its own light, and over the black char of the burned wall that read as dark smoke. Making the flame more see-through put tongues of fire right on the line. It was one look setting, and it needed no new simulation.

The edge leads and the flame follows

In burning paper or wood the glowing edge comes first, and the flame rises from material the edge has already reached. Our fire lit at the instant the front arrived, so the flame and its haze ran a little ahead of the line. Kiln can now hold each point's fire back until the edge has moved past it.

Our first try held the fire back by a time, a fifth of a second. The bottom edge looked right and the top did not. Fire climbs a wall about four times faster than it creeps down or sideways, so the same fifth of a second left a 5 cm gap under the bottom edge and a 20 cm gap at the top. The fix was to set the gap as a distance. Each point now waits until the edge is 5 cm past it, however fast the edge is moving there, and the flames stand the same distance behind the line all the way round.

A burning patch on a plaster wall with the flames starting well below its top edge.
Held back by time. The top edge climbs fast, so its flames trail far behind it.
The same patch with flames standing right on its top edge.
Held back by distance. 5 cm behind every edge, so the top has flames on it like the bottom.

Working speed

A look you cannot iterate on is not a look

Everything above was found by rendering, looking and changing one thing. That only works if the loop is short. All of this was done on one artist workstation with a single mid-range desktop graphics card, inside the compositor, with the plate in the same viewer.

Two things keep the loop short.

The viewer has a fast mode and a full mode. While an artist is shaping a fire, the viewer can run a lighter version of the solve that plays sooner and keeps the motion. A bake or a final render always runs the solve exactly as set. The switch is one menu on the node, and the first pass through a shot caches as it plays, so the second pass plays back in real time.

The burn tools were made faster for big jobs. A spreading wall fire feeds the gas from hundreds of thousands of burning points every frame. Reworking how those points reach the simulator cut a quarter off the render time for the wall, with the picture unchanged to the eye.

Most of the look controls described here are render-time. The ramp, the feed mode, the sharpen and the shredding all change the picture without simulating again, so the most important decisions about a fire are also the cheapest ones to try.

What we took away

Eight things we would tell another fire artist

  1. When fire looks dense, look at the shading first

    We lost days tuning motion for a problem that was in the lighting. If the movement is believable and the picture is not, leave the solver alone.

  2. Flame is a surface

    Light the front where burning happens and keep the gas round it dark. The darkness between sheets is what gives a fire its shape.

  3. The right ramp depends on the size of the fire

    Small flames live in their faint outer skin. Big fires live in their strong flame. A ramp carried from one to the other will fail, and it will fail as fur.

  4. One number per setting is a compromise

    A flame is a different material at the start of its life and at the end. Give the artist a curve over that life and they can describe what they see in real fire, clause by clause.

  5. Build the fuel like the real fuel

    The campfire came right when it was made of separate sticks that burn unevenly. Structure in the fuel becomes structure in the flame, and no gas setting will fake it.

  6. Give the gas somewhere to go

    A fire against a wall in a closed box will push on itself until it tears. Open the box so air comes and goes as it does outdoors, and push only where fuel is burning.

  7. Look through the flame before you change it

    Flames that seem to start in the wrong place may only be hidden by their own density. Check how see-through the flame is before you change the fire itself.

  8. Set the gap behind the edge as a distance

    A front moves at different speeds in different directions. A delay in seconds turns into a different gap on every side of the fire; a distance keeps the flames the same few centimeters behind the edge everywhere.

Where it goes next

The same approach is now being carried to the fires at either end of the scale: candles, where a single small flame has to hold a clean teardrop and still flicker, and larger fuel fires with heavy smoke. The ramp system is being carried across the rest of Kiln's simulation family, so the same eight curves shape a muzzle flash or an energy effect the way they shape a campfire.

The flame presets shown here, the sheet look and the setting ramps are in current builds of Forged.

All images and clips on this page were simulated and rendered in Kiln, inside Forged, and are shown as they came out of the viewer.