---
title: "Fire effect for shooter maps: burning windows"
description: "Players see a burning window side-on from the street, the same angle as the compile. Loop the 2 s window fire flush with your wall and offset each start."
canonical: https://appliedmanifold.com/effects/shooter-fire-effect/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Effects](https://appliedmanifold.com/effects/)
3.  [VFX for games](https://appliedmanifold.com/effects/vfx-for-games/)
4.  Shooter fire

GAMES // SHOOTER FIRE

# Fire effects for a shooter game

Fire in a shooter map is usually a burning building seen from the street, so you want flames that pour from a window and loop for the whole match. Use a 2 s window fire loop placed flush with the wall, start each window at a different point in the loop, and add a flickering light for the street.

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

**WINDOW\_FIREFINAL**

![First frame of the window\_fire bake](/bakes/window_fire/poster.webp)

Window fire, 3.9 x 4.7 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-window_fire)

01 // WHY IT FITS

## Why the side-on compile fits a street view

The compile camera is side-on by default, and a player on the street looks at a burning window from roughly the same angle. The window fire example builds the house from three solids: a wall block, a room carved out of it and a window 0.7 m wide and 0.65 m tall through the front, centered 1.5 m above the floor. Flame rolls out of that opening and climbs the wall.

The scene's origin is on the ground, at the foot of the wall under the window. Line the quad up with your window, or scale the effect so its 0.7 m opening matches yours.

02 // LOOPS

## Loop for a whole match without a visible wrap

The loop is 64 frames over 2 s. The compile blends its last 12 frames into the first, so the step from frame 63 back to frame 0 does not jump.

A street of identical windows that all flare on the same frame looks mechanical. Turn `autoplay` off, give each window its own starting `time_s` between 0 and 2, and advance it yourself.

burning\_window.gd

```
extends Node3D

@onready var fire: Node3D = $WindowFire

func _ready() -> void:
	fire.autoplay = false
	fire.time_s = randf() * 2.0

func _process(delta: float) -> void:
	fire.time_s = fmod(fire.time_s + delta, 2.0)
```

03 // LIGHT

## Light the street under the window

The shader adds the flame as HDR light, so `WorldEnvironment` glow blooms the window. To light the pavement and the walls across the street, add an `OmniLight3D` just outside the window and vary its energy a little each frame. At street distance, one light for every few windows is enough.

For a molotov or a burning car on the ground, use the steady `fire` compile instead: a 2 s loop about 1.5 m across that runs for as long as the fire's damage area lasts.

04 // REAL OUTPUT

## Window fire and ground fire

Both are 2 s loops. The window fire is 3.9 x 4.7 m; the ground fire reaches 7.0 m tall.

**FIREFINAL**

![First frame of the fire bake](/bakes/fire/poster.webp)

Fire, 4.1 x 7.0 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-fire)

05 // RELATED

## Related pages

-   [Godot fire Godot 4A looping fire, from a burning wreck to a fire whirl or a window fire, dropped into a Godot 4 scene by your agent.](https://appliedmanifold.com/effects/godot-fire/)
-   [Godot window fire Godot 4A window fire venting flame and smoke from a burning room, dropped into a Godot 4 scene by your agent.](https://appliedmanifold.com/effects/godot-window-fire/)
-   [Strategy fireFire loops for strategy buildings that grow as health drops, precomputed for a camera that looks down from 60 m.](https://appliedmanifold.com/effects/strategy-fire-effect/)
-   [Survival campfireTurn the fire compile into a survival campfire that holds up a meter away and lights the camp until its fuel runs out.](https://appliedmanifold.com/effects/survival-fire-effect/)
-   [HDR emissive fireHDR emissive fire stores flame brightness above white, so bloom makes the core glow while the smoke stays lit by the scene.](https://appliedmanifold.com/learn/hdr-emissive-fire/)
-   [Fire that lights the scene Godot 4Light the area around a fire in Godot 4 with a flickering OmniLight3D and make the flame bloom with WorldEnvironment glow.](https://appliedmanifold.com/guides/godot-fire-light-nearby-objects/)
-   [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 VFX for games →](https://appliedmanifold.com/effects/vfx-for-games/)

[← Shooter smoke](https://appliedmanifold.com/effects/shooter-smoke-effect/)[Shooter dust →](https://appliedmanifold.com/effects/shooter-dust-effect/)

06 // FAQ

## Shooter fire questions

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

**README.SHOOTER\_FIRE\_EFFECT**

### How do I make a shooter window fire loop continuously without visible popping?

Use a sheet precomputed as a loop. The compile blends its last 12 frames into the first so frame 63 flows into frame 0.

### How do I make shooter fire illuminate nearby walls and props?

Place an OmniLight3D beside the flames and vary its energy slightly each frame while HDR flame and glow keep the fire bright.

### How do I optimize many burning windows in a shooter map?

Use one precomputed quad per window or share one GPUParticles3D node across windows and keep real lights only on fires near the player.

### Can I use precomputed window fire in a 3D Godot shooter map?

Yes. The compiled fire is a 3D scene sized in meters with its origin on the ground, ready to place flush against any wall.

## 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/)
