---
title: "Precomputed vs real-time effects: which should a game use?"
description: "Precomputed effects are simulated ahead of time and played back as flipbooks, while real-time effects compute every frame. Most games mix the two."
canonical: https://appliedmanifold.com/learn/baked-vs-real-time-effects/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Learn](https://appliedmanifold.com/learn/)
3.  Precomputed vs real-time effects

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.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [See the examples →](https://appliedmanifold.com/docs/pyrofx/examples/)

-   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](/bakes/fireball/poster.webp)

Fireball, 9.4 x 13.4 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-fireball)

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](/bakes/smoke_column/poster.webp)

Smoke column, 8.2 x 9.9 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-smoke_column)

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](https://appliedmanifold.com/effects/godot-explosion/).

05 // RELATED

## Related pages

-   [Particle systemA particle system spawns and updates many small sprites or meshes from an emitter to make sparks, smoke, rain and fire.](https://appliedmanifold.com/learn/particle-system/)
-   [Six-way lightingSix-way lighting stores smoke lit from six directions in two textures, so a shader can relight the flipbook from your scene light.](https://appliedmanifold.com/learn/six-way-lighting/)
-   [Game VFXGame VFX are real-time effects such as fire, smoke, explosions and hits, built from particles, flipbooks, shaders and lights.](https://appliedmanifold.com/learn/game-vfx/)
-   [Godot explosion Godot 4An explosion that plays once, a ground fireball or a shell impact, dropped into a Godot 4 scene by your agent.](https://appliedmanifold.com/effects/godot-explosion/)
-   [Varied explosions Godot 4Keep repeated explosions in Godot 4 from looking identical with random variants, small scale and timing changes and mixed layers.](https://appliedmanifold.com/guides/godot-varied-explosions/)
-   [Explosion sprite sheetThe fireball and impact compiles as one-shot explosion sprite sheets, layered with smoke and dust and played once in each engine.](https://appliedmanifold.com/effects/explosion-sprite-sheet/)
-   [ExamplesThe hosted pyrofx recipes are fire, fireball, fire\_whirl, window\_fire, smoke\_column, smoke\_plume, dust\_ring, impact, kickup\_soil and kickup\_masonry. The rendered starter library retains its recorded compile version; each example links its report.](https://appliedmanifold.com/docs/pyrofx/examples/)

[All pages in Learn →](https://appliedmanifold.com/learn/)

[← Loop vs one-shot](https://appliedmanifold.com/learn/loop-vs-one-shot/)[Game VFX →](https://appliedmanifold.com/learn/game-vfx/)

06 // FAQ

## Precomputed and real-time questions

[All questions →](https://appliedmanifold.com/faq/)

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

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [Examples →](https://appliedmanifold.com/docs/pyrofx/examples/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
