GUIDE // ANY ENGINE
How to make a sprite sheet for a VFX effect
Render or draw every frame of your effect at the same size from a fixed camera, on a transparent background, with the frame sized for the effect's largest moment. Pack the frames into a grid in reading order, left to right and top to bottom, and save one PNG with alpha. Write down the grid, frame count and frame rate.
- 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
Make the sheet by hand
- Make the animation in your 3D or 2D tool, a simulation or hand-drawn frames, at the length you want the clip to be.
- Fix the camera. An orthographic camera from the side keeps the size true, so the frames map onto a flat quad without distortion.
- Frame the camera for the largest moment of the whole clip, with a small empty margin, and do not move it between frames.
- Render with a transparent background and alpha, at the tile size you want, such as 256 x 256 px.
- Choose a grid that holds every frame, such as 8 x 8 for 64, and pack the frames left to right, top to bottom.
- Save one PNG with straight alpha and note the grid, frame count, frame rate and whether it loops.
- For a loop, blend the last frames into the first before packing.
02 // WITH SPATIAL COMPILER
Ask your agent for the effect
Ask your agent for the effect in plain words, such as a campfire that loops or a fireball that plays once. It compiles the frames from a simulation and packs them for you: 64 frames on an 8 x 8 grid by default, with a layout.json that records the grid, frame times, loop flag and size in meters, and previews you can open in a browser.
The sheets store lighting from six directions, opacity, flame brightness and motion, so in Godot 4 the shader relights the effect from your sun. For a quick one-texture setup in another engine, see pyrofx outputs.
How should frames be arranged in a VFX sprite sheet?
Arrange frames in a grid of equal cells in reading order, left to right along the top row then down, filling the grid.
How do I preserve the aspect ratio of a VFX frame?
Keep cells square, frame a tall effect inside the square with empty space at the sides and size the scene quad to match.
Why use sprite sheets?
One texture holds the whole animation so the engine loads one file and switches frames by moving UVs, showing complex simulated motion.
What format is a sprite sheet?
Usually a PNG with an alpha channel. EXR or 16 bit PNG carries brighter than white values for HDR fire.
How do sprite sheets work?
The engine draws one cell at a time and steps to the next at the playback rate using the grid and frame count.
Compile your first effect
You pay per compile and see the price before it runs. New accounts start with $5 of usage.