GUIDE // ANY ENGINE
How many frames a fire effect should use
Most looping fire sheets use 16 to 64 frames. Work your count out from the loop length and playback rate: a 1 second loop at 24 frames per second needs 24 frames. Fire changes fast, so it needs a higher rate than smoke, about 24 to 30 frames per second without blending between frames, and less with it.
- 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.
01 // RANGES
Frame counts by how the fire is used
- Torches and distant fires, a few dozen pixels on screen: 16 frames on a 4 x 4 grid is often enough, because nobody can follow the shape.
- Campfires and burning props at normal view distance: 32 to 64 frames.
- Close-up fires the camera lingers on: 64 frames or more, or 64 frames with blending between frames.
A longer loop repeats less often, which matters more than rate for a fire that stays in view. Doubling the loop length doubles the frame count at the same rate.
02 // HOW TO
Choose a frame count
- Pick the loop length. Fire usually loops well between 1 and 3 seconds.
- Pick the playback rate: 24 to 30 frames per second without frame blending, 15 to 20 with it.
- Multiply them. A 2 second loop at 30 frames per second needs 60 frames.
- Round to a grid that fills completely, such as 4 x 4 (16), 6 x 6 (36) or 8 x 8 (64), and adjust the rate to match.
- Check the tile size this leaves on your sheet, so the fire still has enough pixels at its largest on screen.
03 // REAL OUTPUT
The example fire's frame count
Spatial Compiler compiles 64 frames on an 8 x 8 grid of 256 px tiles by default, a 2048 x 2048 sheet. The example fire loops 2 seconds in those 64 frames, so it plays at 32 frames per second, and its sheets carry motion vectors that let a shader blend between frames. Ask your agent for a different grid or loop length when your fire needs one.
How many frames should a looping fire effect use?
Most looping fire sheets use 16 to 64 frames, with small distant fires at the low end and close flames at the high end.
How should frames be arranged in a fire sprite sheet?
Arrange frames in reading order from left to right along the top row and down each row, which every engine flipbook expects.
Can a 64 frame fire use a 16 by 4 grid instead of 8 by 8?
Yes, a 16 by 4 grid holds 64 frames, though on a square sheet each cell becomes four times taller than wide.
How do I make a realistic fire with GPUParticles3D in Godot?
Use a few large particles playing a fire flipbook with an unshaded additive material and environment glow so motion never repeats in sync.
Compile your first effect
You pay per compile and see the price before it runs. New accounts start with $5 of usage.