Vertex animation textures (VAT) and GPU crowds
Bake per-frame vertex positions (and normals) or bone matrices into a texture, then replay them in the vertex shader so thousands of instances animate with no CPU skinning.
Also known as VAT, baked vertex animation, animation textures
In the family Simulation & animation, baked animation
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | None found | |
| Babylon.js 9.38.0 | Built in | new VertexAnimationBaker(scene, mesh); mesh.bakedVertexAnimationManager docs |
| Godot 4.7 | None found | |
| Unity | None found | No built-in VAT baker or playback node; requires custom shaders or third-party/Houdini VAT packages. |
| Unreal 5.7 | Official add-on | Vertex Animation Tool (3ds Max script) exports animation to textures for a material docs Epic-provided 3ds Max tool set. |
| Blender 5.2 | None found | |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
Offline, an animation is sampled at fixed time steps. For vertex-position VAT, each texel stores the position of one vertex at one frame, so the texture is vertices wide and frames tall; normals go in a second texture or are packed. Fluid, cloth and fracture caches that change topology are stored the same way, often with rigid-fragment variants storing pivot and rotation per piece. For crowds, the common variant bakes skinning matrices or animation frames of a skeleton instead. At runtime a shader uses the vertex index and a time value, optionally per-instance offset and speed, to fetch texels and interpolate between two frames. Because the data is just a texture lookup, GPU instancing draws thousands of characters or debris pieces in a few draw calls with varied phase and clip selection. Precision is the main design decision: bounding-box-normalised 16-bit half floats or 8-bit fixed-point trade size against jitter.
When to choose it
Reach for it when
- too many skinned characters tank the cpu in a crowd
- need to replay baked cloth or fluid cache on mobile
- want destruction debris animation without runtime physics
- thousands of instanced animated meshes need varied phase offsets
Choose it when many copies of the same baked motion must play cheaply: crowds in a stadium, swarms, destruction, cached cloth or liquid surfaces on mobile and web. Prefer Linear blend skinning or Dual quaternion skinning when characters need blending, IK or runtime-driven poses; prefer Blend shapes / morph targets and pose-space deformation for runtime-weighted facial shapes. Prefer Motion matching when motion must react to gameplay. VAT is the right answer for cached simulation from Extended Position-Based Dynamics or FLIP/PIC fluids that you want to replay unchanged.
Field marks
- Texture memory grows quickly with vertex count times frame count, forcing frame-rate or mesh LOD cuts
- Quantised positions shimmer or wobble on small details when the bounds are too large
- Linear interpolation between baked frames smooths fast motion and breaks silhouettes at low sample rates
- No runtime blending or retargeting: transitions between clips need cross-fading two lookups
- Mip-mapping or filtering on the animation texture corrupts values; it must be point-sampled
Crosses
- Boids flocking: Boid agents choose a baked clip and phase per instance, so a flock flaps with stored vertex animation instead of skinned rigs.
- Extended Position-Based Dynamics: Cloth or soft-body output from an offline XPBD run is baked into the texture and replayed on many instances.
Sources
- primarysideeffects (2016). sideeffects/GameDevelopmentToolset. A series of Houdini shelf tools that are geared towards game developers!GitHub API · license NOASSERTION · 2026-11-29
- tutorialDudash. GPU Gems 3, Chapter 2: Animated Crowd Rendering. developer.nvidia.com.Verified via live page · 2026-11-29