---
id: "vertex-animation-textures"
title: "Vertex animation textures (VAT) and GPU crowds"
aliases: [VAT, baked vertex animation, animation textures]
domain: "simulation"
stage: "simulation"
realtime: "realtime"
platforms: [webgl2, webgpu, desktop-gpu, mobile-gpu, unity, unreal, godot, houdini]
year_introduced: 2007
inputs: [animation, mesh]
outputs: [texture, animation]
style: "both"
dynamic: "dynamic"
cost: "cheap"
authority: "sideeffects, 2016"
url: "https://texelatlas.vercel.app/t/vertex-animation-textures/"
sources_verified_at: "2026-11-29"
---
# Vertex animation textures (VAT) and GPU crowds (sideeffects, 2016)

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

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

## 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 use it

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](https://texelatlas.vercel.app/t/linear-blend-skinning.md) or [Dual quaternion skinning](https://texelatlas.vercel.app/t/dual-quaternion-skinning.md) when characters need blending, IK or runtime-driven poses; prefer [Blend shapes / morph targets and pose-space deformation](https://texelatlas.vercel.app/t/blend-shapes-morph-targets.md) for runtime-weighted facial shapes. Prefer [Motion matching](https://texelatlas.vercel.app/t/motion-matching.md) when motion must react to gameplay. VAT is the right answer for cached simulation from [Extended Position-Based Dynamics](https://texelatlas.vercel.app/t/xpbd.md) or [FLIP/PIC fluids](https://texelatlas.vercel.app/t/flip-pic-fluids.md) that you want to replay unchanged.

## Cost

cheap — One or two texture fetches per vertex per frame; memory is vertices times frames times channels.

## Failure modes

- 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

## Engine support

- babylonjs: builtin — `new VertexAnimationBaker(scene, mesh); mesh.bakedVertexAnimationManager` (evidence: https://github.com/BabylonJS/Babylon.js/blob/9.38.0/packages/dev/core/src/BakedVertexAnimation/bakedVertexAnimationManager.ts, checked 2026-12-01)
- unreal: official — `Vertex Animation Tool (3ds Max script) exports animation to textures for a material` (evidence: https://dev.epicgames.com/documentation/en-us/unreal-engine/vertex-animation-tool-in-unreal-engine, checked 2026-12-01) — Epic-provided 3ds Max tool set.

## Dataflow

- Inputs: animation, mesh
- Outputs: texture, animation
- Platforms: webgl2, webgpu, desktop-gpu, mobile-gpu, unity, unreal, godot, houdini

## Combines with

- [Boids flocking](https://texelatlas.vercel.app/t/boids.md): 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](https://texelatlas.vercel.app/t/xpbd.md): Cloth or soft-body output from an offline XPBD run is baked into the texture and replayed on many instances.

## Sources

1. [primary] sideeffects (2016) sideeffects/GameDevelopmentToolset. https://github.com/sideeffects/GameDevelopmentToolset License: NOASSERTION. (verified via github on 2026-11-29)
2. [tutorial] Dudash GPU Gems 3, Chapter 2: Animated Crowd Rendering. developer.nvidia.com. https://developer.nvidia.com/gpugems/gpugems3/part-i-geometry/chapter-2-animated-crowd-rendering (verified via http on 2026-11-29)

## Cite this entry

Texel. "Vertex animation textures (VAT) and GPU crowds." https://texelatlas.vercel.app/t/vertex-animation-textures/ (accessed 2026-12-01).
