---
title: "Smoke plume effect in three.js from a sprite sheet"
description: "Play a smoke plume in three.js today: a snippet loads the packed RGBA sprite sheet on a THREE.Sprite and steps the texture offset. Steps and code."
canonical: https://appliedmanifold.com/effects/threejs-smoke-plume/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Effects](https://appliedmanifold.com/effects/)
3.  [three.js VFX](https://appliedmanifold.com/effects/threejs-vfx/)
4.  three.js smoke plume

EFFECTS // THREE.JS

# How to make a smoke plume in three.js

In three.js, you can play a smoke plume that leans with the wind and loops every 4 seconds. A snippet loads the packed RGBA sprite sheet on a THREE.Sprite, sets the texture repeat to one eighth, and wraps back to frame 0. Godot 4 gets a ready scene that relights the smoke.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [What the sheets hold →](https://appliedmanifold.com/docs/pyrofx/outputs/)

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

**SMOKE\_PLUMEFINAL**

![First frame of the smoke\_plume bake](/bakes/smoke_plume/poster.webp)

Smoke plume, 7.0 x 10.8 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-smoke_plume)

01 // WHAT YOU GET

## What you get for smoke plume in three.js

The smoke plume rises from a source on the ground and leans with the wind, about 7 m wide and 10.8 m tall. It loops every 4 seconds, so it can run for as long as something keeps burning. The lighting sheets let your engine relight it from any sun angle.

You get three PNG sheets of 64 frames, a `layout.json` with the timing, and previews, which three.js plays through a small material.

02 // HOW TO

## Play the smoke plume in three.js

1.  Ask your agent for the effect (for example "a chimney smoke plume leaning to the left that loops") with `export.pack` writing the light from above into RGB and opacity into alpha, so one PNG holds gray shading you can tint. (`main_pos.png` as it comes holds three light directions in RGB, not a color.) Load it with `TextureLoader` and set `texture.repeat.set(1 / 8, 1 / 8)`.
2.  Put it on a `THREE.Sprite` with a `SpriteMaterial` (`transparent: true`, `depthWrite: false`) so it always faces the camera. Normal blending suits smoke; tint it with the material color.
3.  Each frame, pick the tile: column `i % 8` and row `Math.floor(i / 8)`, then set `texture.offset.set(col / 8, 1 - (row + 1) / 8)`.
4.  Advance `i` by 16 frames a second, the smoke plume's real speed (64 frames in 4 s), and wrap it with `i % 64` so it loops.
5.  Set `sprite.scale.set(s, s, 1)` with `s` the meters per tile from `layout.json`, a little over 10.8 m for the smoke plume, so it shows at its real size.

03 // ADJUST IT

## Adjust the smoke plume for your scene

Use it over burning wrecks, chimneys and distant fires. Ask your agent for less lean on a calm day, thicker smoke for burning fuel or white steam instead of grey smoke.

04 // SETTINGS

## Settings in the smoke plume spec

A steady smoke source and a sideways wind make the lean, and the loop settings blend the end into the start.

Ask your agent to change these and compile again; the [full smoke\_plume spec](https://appliedmanifold.com/docs/pyrofx/examples/#ex-smoke_plume) lists every value.

05 // RELATED

## Related pages

-   [Godot smoke plume Godot 4A smoke plume that leans with the wind and loops every 4 seconds, dropped into a Godot 4 scene by your agent.](https://appliedmanifold.com/effects/godot-smoke-plume/)
-   [Unity smoke plume UnityA smoke plume that leans with the wind and loops every 4 seconds, played in Unity by hand today.](https://appliedmanifold.com/effects/unity-smoke-plume/)
-   [Unreal smoke plume Unreal EngineA smoke plume that leans with the wind and loops every 4 seconds, played in Unreal Engine by hand today.](https://appliedmanifold.com/effects/unreal-smoke-plume/)
-   [Roblox smoke plume Roblox StudioA smoke plume that leans with the wind and loops every 4 seconds, played in Roblox Studio by hand today.](https://appliedmanifold.com/effects/roblox-smoke-plume/)
-   [three.js fire three.jsA looping fire, from a burning wreck to a fire whirl or a window fire, played in three.js with a documented snippet.](https://appliedmanifold.com/effects/threejs-fire/)
-   [three.js explosion three.jsAn explosion that plays once, a ground fireball or a shell impact, played in three.js with a documented snippet.](https://appliedmanifold.com/effects/threejs-explosion/)
-   [Smoke plume sprite sheetChimney or wreck smoke as a 4 second looping sprite sheet that leans with the wind, how to change the wind, and how it relights in Godot 4.](https://appliedmanifold.com/effects/smoke-plume-sprite-sheet/)
-   [Six-way lightingSix-way lighting stores smoke lit from six directions in two textures, so a shader can relight the flipbook from your scene light.](https://appliedmanifold.com/learn/six-way-lighting/)
-   [Loop a sprite animation three.jsLoop a fire or smoke sprite sheet in three.js from elapsed time, so it plays at the same speed on every screen.](https://appliedmanifold.com/guides/threejs-loop-sprite-animation/)
-   [OutputsWith the default export, each view writes four sheets, `<view>_pos.png`, `_neg.png`, `_colour.png` and `_aux.png`, plus `layout.json`, two still previews, the animated `preview_anim.png` and `bake_report.json`. Sheets are 8 x 8 tiles of 256 px by default.](https://appliedmanifold.com/docs/pyrofx/outputs/)

[All pages in three.js VFX →](https://appliedmanifold.com/effects/threejs-vfx/)

[← three.js impact](https://appliedmanifold.com/effects/threejs-impact/)[three.js smoke column →](https://appliedmanifold.com/effects/threejs-smoke-column/)

06 // FAQ

## Questions about smoke plume in three.js

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

**README.THREEJS\_SMOKE\_PLUME**

### Is there a smoke plume effect for three.js?

Yes. Ask your agent for a chimney smoke plume leaning with the wind that loops, starting from the smoke\_plume example.

### How do I loop a smoke plume sprite sheet in three.js?

Advance a frame counter at 64 frames per 4 seconds, wrap it modulo 64 and set texture.offset from the column and row.

### How do I make a realistic smoke plume in three.js?

Start from a simulated plume instead of manual particles. A steady source and sideways wind create the lean while loop settings blend.

### How do I keep a smoke plume in proportion in three.js?

Keep the Sprite square because every tile is square. Set sprite.scale.set(s, s, 1) using the meters per tile from layout.json.

### How many frames does the smoke plume effect use?

The smoke plume compile uses 64 frames over a 4 second loop and frame blending smooths slow motion.

## 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) [Outputs →](https://appliedmanifold.com/docs/pyrofx/outputs/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
