← Blog

A colour-preserving particle volume, compressed with ZibraVDB and played back in Unreal

VFX 728 · Research · Spring 2026

The question: can a coloured particle simulation become a volume that keeps its colour, be compressed with ZibraVDB, and play back in Unreal Engine? In Houdini, yes, at 1–4% of the original cache size. In Unreal the volume plays at 80–90 fps, but ZibraVDB for Unreal can't render the colour yet.

Source: coloured FLIP particles from the S26 garden shot

Particles to a coloured volume

A FLIP simulation in a closed box, driven by two velocity fields. Each particle gets a random density between 0.75 and 1. Volume Rasterize Attributes then turns the particles straight into density and Cd volumes, with no secondary Pyro simulation, and Pyro Bake Volume shows Cd as the smoke's diffuse colour.

f@density = fit01(rand(@ptnum), 0.75, 1);
f@pscale = chf("particle_separation") * chf("particle_scale");
Rasterized density and colour
Rasterized density and colour
Pyro Bake Volume with Cd as diffuse
Pyro Bake Volume with Cd as diffuse

Compression

Source, 480 framesStandard VDB cacheZibraVDB
Rasterized volume29 GB, 37 min432 MB, 20 min
Pyro simulation, Cd at quality 0.7546.9 GB588 MB (−98.75%)
Pyro simulation, Cd uncompressed46.9 GB1.71 GB (−96.35%)

Compressing Cd causes flickering colour blocks in the flipbook and in Karma. Leaving Cd uncompressed reduces them but doesn't remove them.

ZibraVDB flipbook
Standard VDB flipbook
Uncompressed Pyro, 46.9 GB
ZibraVDB, Cd at 0.75, 588 MB
ZibraVDB, Cd uncompressed, 1.71 GB
Colour artifacts in Karma
Colour artifacts in Karma
Karma render view
Karma render view

Colour in Unreal

Unreal doesn't read vec3 volumes, so after a Pyro pass the colour is stored as three float volumes, Cd.x, Cd.y and Cd.z. They import next to density and velocity, but ZibraVDB's renderer has no slot for them: in the density channel they render as voxel blocks, and in temperature or flame they take Unreal's colour ramp. Scattering colour only takes a solid colour or a gradient file. Zibra's team confirmed that rendering Cd in Unreal isn't supported yet.

Cd split into float volumes
Cd split into float volumes
The channels in Unreal
The channels in Unreal
Cd.x in the density channel
Cd.x in the density channel
Density in temperature
Density in temperature
Cd.x in the flame channel
Cd.x in the flame channel
Playback in Unreal Engine: 80–90 fps on an RTX 3090

What I'd keep