GUIDE // UNREAL ENGINE
How to light flipbook smoke particles with Unreal Engine scene lighting
Make the smoke material Translucent with the Default Lit shading model and a volumetric translucency lighting mode, feed the flipbook's alpha into Opacity and set Base Color to your smoke color. Your sun, sky light and nearby lights then brighten and tint the sprites, while the precomputed shading in the frames gives the smoke its shape.
- 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 // HOW TO
Build a lit smoke material
- Create a material with Blend Mode Translucent and Shading Model Default Lit.
- In the material's translucency settings, set Lighting Mode to Volumetric NonDirectional. Its per-vertex variant is cheaper when you have many particles.
- Add a Particle SubUV node with
main_pos.png. Multiply its alpha by the alpha of a Particle Color node and connect it to Opacity. - For Base Color, multiply the node's green channel (light from above) by Particle Color. The precomputed shading then sits under Unreal's own lighting.
- Assign the material to the Sprite Renderer at 8 x 8 and move your Directional Light to check that the smoke darkens and tints with it.
02 // REAL OUTPUT
Smoke after a burst
The smoke column is a one-shot that climbs, spreads and thins, so its edges show the lighting mode clearly.
03 // FULL RELIGHTING
What the six lighting channels add
The compile stores six-way lighting: how the smoke looks lit from the right, above and behind in main_pos.png, and from the left, below and front in main_neg.png. A material that blends all six by the direction of your sun relative to the sprite would relight the smoke properly as the sun moves.
Building that blend in an Unreal material is custom work, and nobody has tested one with these sheets. The green channel in Build a lit smoke material is a single fixed direction, which looks right under a high sun.
How do I light smoke plume flipbook particles with Unreal Engine scene lighting?
Use a lit Translucent material so scene lights shade the quad, while Godot uses the six way sheets for directional relighting.
How does six way lighting improve flipbook smoke?
It lets precomputed smoke react to scene lights by blending lit and shadow sides as the sun moves, making flat quads look volumetric.
What is volumetric smoke in games?
Volumetric smoke renders a 3D density field using ray marching so light and cameras pass through it, usually reserved for hero clouds.
How should transparency be stored in a six way lightmap?
Store straight opacity in the alpha channel of one texture, such as the alpha channel of main_pos.png in Spatial Compiler outputs.
Compile your first effect
You pay per compile and see the price before it runs. New accounts start with $5 of usage.