Add a looping fire to your Godot scene
Describe the fire in a sentence. Your agent writes the spec, Spatial Compiler simulates it on the hosted API and you get a 64-frame looping flipbook that one quad in your scene plays, lit from your light's direction.
Campfire in Godot, 64-frame loop
- 64frames that loop every 2 s
- 6lighting directions stored in the sheets
- $0.10per full-quality compile
- About 1 minfrom spec to sheets
Rendered in Godot from the compiled sheets, with a six-way shader on one quad and a flickering light. The logs and stones are Godot meshes. Compiled on the hosted API on 3 December 2026.
Simulated fire on one card
Fire built from a few hundred small particles and a soft dot texture looks like glowing confetti up close, and tuning it takes an afternoon.
A simulated flipbook gives the flames real shape and motion, and one card draws it from a single set of textures.
What the terms mean
Flipbook
A grid of frames in one image that the engine plays in order.
One card with one material gives you a moving fire.
Six-way lighting
Six pictures of the smoke, each lit from one side.
Your shader mixes them by your light's direction, so the smoke matches your scene.
Loop
The last frame flows straight into the first.
The fire burns for as long as the scene runs, with no jump.
How it works
Describe the fire
Tell your agent the size and setting, such as a campfire on three crossed logs about 1 m tall.
See the price, then compile
A full-quality compile costs $0.10. Repeat compiles of the same spec are free.
Play it in Godot
Put the sheets and layout file on a quad or a GPUParticles3D node, then add an OmniLight3D for the glow.
Questions
Can GPUParticles3D play the flipbook?
Yes. Give the particles a material that reads the sheets and steps the frame over each particle's life. One quad is enough for a single campfire.
Does the fire light the scene?
The sheets carry the flame's light for the card itself. For the ground and props around it, add an OmniLight3D and flicker its energy.
Use with your agent
Paste the prompt into Claude Code, Cursor or Codex. Your agent connects to Spatial Compiler and comes back with four flipbook sheets, a layout file and a preview of the looping campfire.
New accounts start with $5 of usage, and you see the price of each job before it runs.
Connect the Spatial Compiler MCP server at https://spatialcompiler.dev/mcp if it isn't connected yet. Use pyrofx to compile a looping campfire about 1 m tall on three crossed logs, at full quality, and save the sheets and layout file in my Godot project's effects folder. Start with a draft right away and ask before running a final compile.
Or add the server yourself in Claude Code:
claude mcp add --transport http spatial-compiler https://spatialcompiler.dev/mcp
Once connected, your agent can call the starter tool. It returns a ready fire Draft spec and the exact call that runs it. Your first 100 fire Drafts are free with the $5 signup credit.