EFFECTS // GODOT 4

How to make fire in Godot 4

Ask your agent for a looping fire, from a burning wreck to a fire whirl or a window fire, and it arrives in your Godot 4 project ready to play. You get 64-frame sprite sheets, and wire places them in a scene with a shader that relights the smoke from your sun.

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

FIREFINAL
First frame of the fire bake
Fire, 4.1 x 7.0 m, compiled with Spatial Compiler. Spec →

01 // WHAT YOU GET

What you get for fire in Godot 4

Three fire examples come ready to start from. The steady fire is about 1.5 m across and reads as a burning wreck or a large campfire. The fire whirl spins its flames into a column 7 m tall. The window fire vents flame and smoke out of a burning room. All three loop every 2 seconds.

Each compile is four 2048 px PNG sheets of 64 frames, a layout.json with the grid and timing, and previews. In Godot 4 the scene wire writes plays them for you.

02 // HOW TO

Add the fire to your Godot 4 scene

  1. Get a free API key and connect your agent to the hosted MCP server (see Install via MCP).
  2. Ask for the effect in plain words, for example "a campfire about 1 m across that loops". Your agent starts from the fire or fire_whirl or window_fire example and compiles it at draft quality (from $0.05) to check the look, then at final quality (from $0.10).
  3. Your agent calls wire with an output folder inside your project. It installs the lighting shader, sets the texture imports and writes a scene: a square quad sized from the compile's meters per tile, with its origin on the ground.
  4. Instance the scene where the fire burns. It plays on its own and loops every 2 s, for as long as the node is in the tree.
  5. For many copies at once, ask your agent to wire it with set: ["node=particles"], which writes a GPUParticles3D that plays the same sheets.

03 // REAL OUTPUT

Compare the fire examples

FIRE_WHIRLFINAL
First frame of the fire_whirl bake
Fire whirl, 4.4 x 7.1 m, compiled with Spatial Compiler. Spec →
WINDOW_FIREFINAL
First frame of the window_fire bake
Window fire, 3.9 x 4.7 m, compiled with Spatial Compiler. Spec →

These clips are final-quality compiles of the shipped examples, played from their own sheets. Your agent can start from any of them.

04 // ADJUST IT

Adjust the fire for your scene

Pick the example closest to your scene and ask your agent to change it: a smaller fire for a torch-lit hall, darker smoke for burning oil, or a new seed when two fires sit side by side and should not match.

Each loop runs for as long as the scene needs it, so one compile covers a fire that burns for the whole level.

05 // WHICH ONE

Pick a fire example

  • fire: A steady fire about 1.5 m across, like a burning wreck. Loops, 4.1 x 7.0 m, 2 s loop.
  • fire_whirl: Flames spun into a tall column by a vortex force. Loops, 4.4 x 7.1 m, 2 s loop.
  • window_fire: A burning room venting flame and smoke through a window. Three obstacles make the building. Loops, 3.9 x 4.7 m, 2 s loop.

Each one has its own page: Fire, Fire whirl, Window fire.

07 // FAQ

Questions about fire in Godot 4

All questions →

README.GODOT_FIRE
Is there a ready fire effect for Godot?

Yes. Ask your agent for a looping campfire about 1 m across and it compiles from fire, fire_whirl or window_fire into a ready Godot scene.

How do I use a fire flipbook texture with GPUParticles3D in Godot?

Ask your agent to wire the compile with set node particles. It writes a GPUParticles3D with the lighting shader on its draw pass.

How do I make several fire copies look different in Godot?

Ask your agent for a few seeds of the same spec. Each new seed produces a distinct instance so neighboring fires do not move in step.

How do I make the fire light nearby objects in Godot?

Add an OmniLight3D at the base and flicker its energy from a script. The shader adds HDR flame light for glow without lighting other objects.

Should the first and last frames of a fire loop match in Godot?

Yes. The fire compile blends its last 12 frames into its first so frame 64 leads smoothly back to frame 1 every 2 s.

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 →