LEARN // EFFECTS

Precomputed vs real-time effects

A precomputed effect is simulated ahead of time and stored as frames, usually a flipbook, so your game only plays images back. People often call these baked (precomputed) effects. A real-time effect computes particles or fluid every frame while the game runs. Precomputed effects look richer for their cost. Most games put precomputed flipbooks on real-time particles.

  • Godot 4 Available
  • Unity Manual setup
  • Unreal Engine Manual setup
  • Roblox Studio Manual setup
  • three.js Available

A draft compile is from $0.05, and new accounts start with $5 of usage.

FIREBALLFINAL
First frame of the fireball bake
Fireball, 9.4 x 13.4 m, compiled with Spatial Compiler. Spec →

01 // TRADE-OFFS

What each one is good at

  • Precomputed: smoke and fire with real fluid motion for the price of a few texture reads per pixel.
  • Precomputed: the motion is fixed, so a wind change or a player walking through the smoke leaves it as it was, and the view matches the angle it was precomputed from.
  • Real-time: particles spawn, move and collide with the game, and can follow a moving object.
  • Real-time: full fluid simulation and volumetric smoke cost far more per frame, which keeps them to a few hero moments in most games.

02 // IN YOUR GAME

How games combine them

A typical explosion is a real-time particle system that spawns a handful of billboards, each playing a precomputed flipbook (a fireball, some smoke, a dust ring), plus real-time sparks and a short light flash. The particle system handles position, timing and variety, and the flipbooks carry the look.

Variety comes from the real-time side: random start frames, rotation and size, plus a few precomputed variants, so twenty explosions in one fight look different.

03 // REAL OUTPUT

Two precomputed pieces of one explosion

A fireball and the smoke column it leaves behind, both precomputed ahead of time and ready to play on particles.

SMOKE_COLUMNFINAL
First frame of the smoke_column bake
Smoke column, 8.2 x 9.9 m, compiled with Spatial Compiler. Spec →

04 // SPATIAL COMPILER

Compile effects without a simulation setup

Spatial Compiler does the precomputed half. Ask your agent for the effect in plain words and it compiles a fire, smoke, explosion or dust simulation into flipbooks with relightable smoke, then in Godot 4 drops it into a scene, optionally as a GPUParticles3D for many copies. A new seed gives a new variant of the same effect. See Godot explosion.

06 // FAQ

Precomputed and real-time questions

All questions →

README.BAKED_VS_REAL_TIME_EFFECTS
What is volumetric smoke in games?

Volumetric smoke renders a 3D density field using ray marching so light and cameras pass through it, usually reserved for hero clouds.

What does real time VFX mean?

Real time VFX are effects computed and drawn every frame during gameplay within a tight millisecond budget, such as in Unreal Engine Niagara.

How does texture resolution affect particle quality and performance?

Higher resolution adds close up detail at the cost of memory and bandwidth, while 128 pixel frames suit smaller or distant effects.

Can precomputed smoke still respond to scene lighting in Unity?

Yes, when the flipbook stores six way lighting channels, a Unity shader can blend them using the scene light direction.

How do I make multiple explosions look varied instead of identical?

Randomize start frame, rotation, size and playback speed per instance or compile a few variants with different seeds in Spatial Compiler.

Compile your first effect

You pay per compile and see the price before it runs. New accounts start with $5 of usage.

All effects, guides and explainers →