{
 "id": "vertex-animation-textures",
 "title": "Vertex animation textures (VAT) and GPU crowds",
 "aliases": [
  "VAT",
  "baked vertex animation",
  "animation textures"
 ],
 "domain": "simulation",
 "subdomain": "baked animation",
 "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",
 "summary": "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.",
 "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": "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` for runtime-weighted facial shapes. Prefer `motion-matching` when motion must react to gameplay. VAT is the right answer for cached simulation from `xpbd` or `flip-pic-fluids` that you want to replay unchanged.",
 "cost": {
  "class": "cheap",
  "notes": "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"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "gh:sideeffects/gamedevelopmenttoolset",
   "type": "code",
   "title": "sideeffects/GameDevelopmentToolset",
   "description": "A series of Houdini shelf tools that are geared towards game developers!",
   "authors": [
    "sideeffects"
   ],
   "year": 2016,
   "venue": "GitHub",
   "url": "https://github.com/sideeffects/GameDevelopmentToolset",
   "ids": {
    "repo": "sideeffects/GameDevelopmentToolset"
   },
   "license": "NOASSERTION",
   "extra": {
    "stars": 1102,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2024-10-07T21:21:15Z",
    "language": "Python",
    "homepage": null,
    "license_name": "Other"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/sideeffects/GameDevelopmentToolset",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/sideeffects/GameDevelopmentToolset",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/sideeffects/GameDevelopmentToolset",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/sideeffects/GameDevelopmentToolset",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/sideeffects/GameDevelopmentToolset",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/sideeffects/GameDevelopmentToolset",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "sideeffects2016sideeffects"
  },
  {
   "role": "tutorial",
   "key": "url:https://developer.nvidia.com/gpugems/gpugems3/part-i-geometry/chapter-2-animated-crowd-rendering",
   "type": "tutorial",
   "title": "GPU Gems 3, Chapter 2: Animated Crowd Rendering",
   "authors": [
    "Dudash"
   ],
   "year": null,
   "venue": "developer.nvidia.com",
   "url": "https://developer.nvidia.com/gpugems/gpugems3/part-i-geometry/chapter-2-animated-crowd-rendering",
   "ids": {},
   "license": null,
   "extra": {
    "http_status": 200,
    "live": true,
    "archive": {
     "url": "http://web.archive.org/web/20260815080635/https://developer.nvidia.com/gpugems/gpugems3/part-i-geometry/chapter-2-animated-crowd-rendering",
     "timestamp": "20260815080635"
    },
    "page_title": "Chapter 2. Animated Crowd Rendering",
    "host": "developer.nvidia.com",
    "title_confirmed_by_page": true,
    "title_unconfirmed": false
   },
   "provenance": {
    "title": {
     "authority": "http",
     "endpoint": "GET https://developer.nvidia.com/gpugems/gpugems3/part-i-geometry/chapter-2-animated-crowd-rendering → 200",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "http",
     "endpoint": "GET https://developer.nvidia.com/gpugems/gpugems3/part-i-geometry/chapter-2-animated-crowd-rendering → 200",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "research-draft",
     "endpoint": "title_hint/author_hint, checked against page title where available",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "http",
     "endpoint": "GET https://developer.nvidia.com/gpugems/gpugems3/part-i-geometry/chapter-2-animated-crowd-rendering → 200",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "research-draft",
     "endpoint": "title_hint/author_hint, checked against page title where available",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 0.95,
   "__bib": "dudashgems"
  }
 ],
 "presets": [],
 "related": [
  "linear-blend-skinning",
  "dual-quaternion-skinning",
  "blend-shapes-morph-targets",
  "motion-matching",
  "gpu-driven-rendering",
  "boids"
 ],
 "extends": [],
 "supersedes": [],
 "combines_with": [
  {
   "id": "boids",
   "why": "Boid agents choose a baked clip and phase per instance, so a flock flaps with stored vertex animation instead of skinned rigs."
  },
  {
   "id": "xpbd",
   "why": "Cloth or soft-body output from an offline XPBD run is baked into the texture and replayed on many instances."
  }
 ],
 "provenance": {
  "prose": "original text written for this index (research draft, editorially reviewed)",
  "sources_verified_at": "2026-11-29T15:51:27.588Z",
  "draft": "data/drafts/simulation/vertex-animation-textures.json"
 },
 "solves": [
  "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"
 ],
 "authority": "sideeffects, 2016",
 "url": "https://texelatlas.vercel.app/t/vertex-animation-textures/",
 "execution_fidelity": "none",
 "fidelity_label": "No Live Specimen",
 "benchmark_eligible": false
}