LEARN // EFFECTS
What is a texture atlas
A texture atlas is one large texture that holds several different images, such as a spark, a smoke puff and a debris chip, so your objects or particles can share one material and draw together. Each part of your mesh, or each particle, uses texture coordinates that point at its own region of the atlas.
- 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 IT WORKS
How an atlas maps each image
An atlas maps each image to a rectangle, and every surface that uses it stores texture coordinates inside that rectangle. Level artists use this to give a whole room of props one material. Particle systems use it to give each particle a different look from the same texture.
Mipmaps, the smaller copies of a texture the engine samples at a distance, average neighboring pixels, so a region with no gap around it picks up color from the next one. Leave a few pixels of padding, more for textures seen small, and fill it by stretching each region's edge pixels outward.
02 // IN YOUR ENGINE
Pick one image per particle
To give each particle one still image from an atlas, stop the frame from advancing and randomize the start frame. In Unity, set Frame over Time to a constant 0 and Start Frame to random between two constants. In Godot 4, set Animation Speed to 0 and the Animation Offset range from 0 to 1 in the ParticleProcessMaterial.
Keep images that need different blend modes in separate atlases. Additive sparks and alpha-blended smoke cannot share a material, so packing them together saves nothing.
03 // SPATIAL COMPILER
Atlases and precomputed effects
A compile gives each effect its own flipbook sheets, because 64 frames already fill a 2048 x 2048 px texture. For several small effects, ask your agent for a smaller tile size such as export.tile_px = 128, which brings an 8 x 8 sheet down to 1024 x 1024 px. See tile size.
Can particle systems use multiple effects from one atlas?
Yes, each emitter points to its own cell range using Start Frame in Unity, Animation Offset in Godot or Niagara Sub UV Animation.
How do I prevent texture bleeding in a particle atlas?
Add edge pixel padding around each cell, keep transparent margins inside alpha cells, set wrap mode to clamp and limit mip levels if needed.
How do I organize different particle textures in an atlas?
Use a regular grid of equal cells with matching padding around every cell so your particle system can address each image by index.
What is the difference between a texture atlas and a flipbook?
A flipbook uses equal cells for one ordered animation, while a general texture atlas packs unrelated images of any size with stored coordinates.
How many particle effects should be packed into one texture atlas?
Pack as many as share one material and fit at needed resolution, often 4 to 16 images, splitting effects that need different shaders.
Compile your first effect
You pay per compile and see the price before it runs. New accounts start with $5 of usage.