EFFECTS // UNITY
How to make a window fire in Unity
In Unity, you can play a window fire venting flame and smoke from a burning room. Your agent makes PNG sprite sheets of 64 frames, and the Particle System's Texture Sheet Animation, with Tiles set to 8 by 8, plays them as a loop.
- 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 // WHAT YOU GET
What you get for window fire in Unity
The window fire is a burning room venting flame and smoke through a window. Three obstacles in the spec make the wall and the opening, so the flames curl out and up the way they do from a real window. The effect is about 3.9 m wide and 4.7 m tall and loops every 2 seconds.
You get four PNG sheets of 64 frames, a layout.json with the timing, and previews, which Unity plays through a small material.
02 // BY HAND TODAY
Set up the window fire in Unity by hand
- Ask your agent for the effect (for example "a fire venting from a second-floor window that loops") and download the output folder. Import
main_pos.png,main_neg.pngandmain_colour.pngwith Wrap Mode set to Clamp and Alpha Is Transparency off. They are data your material reads, not finished pictures, and the alpha ofmain_neg.pngholds flame brightness, which that option would treat as transparency. - Make a material for a Particle System. The quick setup uses the alpha of
main_pos.pngas opacity and its green channel (light from above) as brightness, tinted with your smoke color, and adds the flame on top:main_colour.pngtimes the squared alpha ofmain_neg.pngtimesscales.emit_max_hdrfromlayout.json. Shader Graph's Flipbook node or a small custom shader can read the sheets. - In the Texture Sheet Animation module, set Mode to Grid, Tiles X and Y to 8 and Animation to Whole Sheet.
- Turn Looping on, set Start Lifetime to 2 s and keep Frame over Time a linear curve from 0 to 1 with Cycles 1 (the curve is normalized over the particle's lifetime), so each particle plays the window fire loop once per lifetime and new particles keep it going.
- Keep the particle square and set its size to the meters per tile in
layout.json, a little over 4.7 m for the window fire, so it shows at its real scale.
03 // ADJUST IT
Adjust the window fire for your scene
Place it against a building so the flames come out of a window in your model. Only the fire and smoke are in the sheets, so your own building model supplies the wall. Ask for a wider window or heavier smoke to match the building.
04 // SETTINGS
Settings in the window fire spec
Three obstacles make the building: a block, the room carved out of it and the window carved through its front. The fire burns on the room floor.
Ask your agent to change these and compile again; the full window_fire spec lists every value.
Is there a window fire effect for Unity?
Start from the window fire example and ask your agent for a wider window or heavier smoke, then play the sheets in Unity.
How do I loop a window fire flipbook continuously in Unity?
Turn Looping on in the Main module and match Start Lifetime to 2 s so the blended last frames wrap cleanly.
How do I make a realistic window fire in Unity?
Use a simulated fire instead of manual particles. Three obstacles form the room and window opening so flames curl upward naturally.
How do I keep the window fire in proportion in Unity?
Keep the particle square because every tile is square. Set 3D Start Size from meters per tile in layout.json, just over 4.7.
Should the first and last frames of a window fire loop match?
Yes. The window fire compile blends its last 12 frames into its first, so frame 64 leads straight back to frame 1.
Compile your first effect
You pay per compile and see the price before it runs. New accounts start with $5 of usage.