Fire

Version 5 of 6

Noise flame.

GPU · GLSL · 2007

This version

No buffer, no history: domain-warped fractal noise scrolls upward through a flame-shaped falloff, evaluated per pixel.

How this version works

This fragment shader renders at a configured resolution scale of 0.6 and calculates each frame without stored heat. Five layers of smooth 3D value noise are combined, then another fractal-noise evaluation warps the sampling coordinates. Time scrolls the noise upwards while also changing its third coordinate, and a falloff with height and distance from the centre confines it to a flame shape. Clamped heat drives an orange base colour and a cubic yellow-white highlight, with an additional glow near the bottom.

The trick in this version

The GPU evaluates the flame independently for every fragment, with no feedback buffer or propagation pass. Procedural hash-based noise replaces stored textures, while reduced rendering resolution limits the cost of the nested noise evaluations.

Historical context · GPU

  1. 2007 · Andrei Tatarinov / NVIDIA

    Perlin Fire

    Volumetric flames from 3D and 4D simplex noise, animated per pixel instead of propagating a 2D heat buffer.

  2. 2018 · Fabien Sanglard (after Samuel Villarreal)

    How Doom fire was done

    A compact, inspectable reconstruction of the palette and transport mechanism, building on Doom 64 reverse engineering.

  3. 2019 · 4rknova

    The classic fire on a GPU

    Weighted upward heat propagation and a colour lookup in shader passes, the original mechanism preserved instead of noise-only flames.

Platform
GPU · GLSL
Era
GPU
Rendered on
GPU
Tags
fbm · procedural
Sources
Perlin Fire (2007)How Doom fire was done (2018)The classic fire on a GPU (2019)