Fire

Version 6 of 6

Volumetric fire.

GPU · raymarched · today

This version

A turbulent cone of density marched along every view ray, glowing by temperature, while the camera circles it.

How this version works

At a configured resolution scale of 0.5, each fragment traces a ray through 64 samples spaced 0.045 units apart. Density comes from a narrowing radial profile disturbed by four layers of upward-scrolling 3D value noise, clipped to a height of 2.3 units. Density and height determine a temperature-like value that controls brightness and the blend from red-orange to pale yellow. Samples accumulate light while reducing the remaining transmission, and the camera slowly rotates around the volume above a dark background gradient.

The trick in this version

Ray marching replaces the flat heat grid with repeated procedural density evaluations along each viewing ray. A fixed sample count and half-scale rendering bound the workload; the glow uses emission and attenuation rather than a separate lighting or shadow pass.

Historical context · GPU

  1. 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.

  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. 2007 · Andrei Tatarinov / NVIDIA

    Perlin Fire

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

Platform
GPU · raymarched
Era
GPU
Rendered on
GPU
Tags
volume · raymarching
Sources
The classic fire on a GPU (2019)How Doom fire was done (2018)Perlin Fire (2007)