{
 "id": "linear-blend-skinning",
 "title": "Linear blend skinning",
 "aliases": [
  "LBS",
  "skeletal subspace deformation",
  "matrix palette skinning"
 ],
 "domain": "simulation",
 "subdomain": "skeletal animation",
 "stage": "simulation",
 "realtime": "realtime",
 "platforms": [
  "webgl2",
  "webgpu",
  "desktop-gpu",
  "mobile-gpu",
  "cpu",
  "unity",
  "unreal",
  "godot",
  "blender"
 ],
 "year_introduced": 1988,
 "inputs": [
  "mesh",
  "skeleton"
 ],
 "outputs": [
  "mesh",
  "animation"
 ],
 "style": "both",
 "dynamic": "dynamic",
 "summary": "Deforms a mesh by blending each vertex's position under several bone transforms with per-vertex weights: the default skinning method in real-time engines.",
 "how_it_works": "Each vertex stores up to four bone indices and weights summing to one. At runtime, every bone has a skinning matrix `M_j = pose_j * inverse_bind_j`, and the deformed position is `sum_j w_j M_j v`. Normals use the same blend. The matrices are uploaded as uniforms or a texture/buffer and the sum is done in the vertex shader, or in a compute pass that writes skinned vertices for later passes. Blend shapes (morph targets) are added before skinning for facial detail. Pose-space corrective shapes can fix artefacts. It is cheap, linear, and invertible, which is why exporters, formats like glTF and tooling all assume it.",
 "when_to_use": "Choose it as the baseline character deformation: fast, standard, supported everywhere. Prefer `dual-quaternion-skinning` when twisting or bending joints collapse (candy-wrapper, elbow volume loss), `shape-matching-deformation` or `xpbd` for secondary jiggle and soft tissue layered on top, and `fabrik-ik` to drive the skeleton's pose from targets.",
 "cost": {
  "class": "cheap",
  "notes": "Cheap: a few matrix-vector products per vertex."
 },
 "failure_modes": [
  "Candy-wrapper collapse when a joint twists 180 degrees",
  "Volume loss at bent elbows and knees",
  "Bulging at shoulders",
  "Weights painted poorly give 'rubber' or tearing around joints"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "url:https://skinning.org/",
   "type": "web",
   "title": "Skinning: Real-time Shape Deformation",
   "authors": [
    "Alec Jacobson et al."
   ],
   "year": null,
   "venue": "SIGGRAPH 2014 course",
   "url": "https://skinning.org/",
   "ids": {},
   "license": null,
   "extra": {
    "http_status": 200,
    "live": true,
    "archive": {
     "url": "http://web.archive.org/web/20260813024126/https://skinning.org/",
     "timestamp": "20260813024126"
    },
    "page_title": "Skinning: Real-time Shape Deformation",
    "host": "skinning.org",
    "title_confirmed_by_page": true,
    "title_unconfirmed": false
   },
   "provenance": {
    "title": {
     "authority": "http",
     "endpoint": "GET https://skinning.org/ → 200",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "http",
     "endpoint": "GET https://skinning.org/ → 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": "research-draft",
     "endpoint": "title_hint/author_hint, checked against page title where available",
     "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": 1,
   "__bib": "alskinning"
  },
  {
   "role": "primary",
   "key": "doi:10.1145/344779.344862",
   "type": "paper",
   "title": "Pose space deformation",
   "authors": [
    "J. P. Lewis",
    "Matt Cordner",
    "Nickson Fong"
   ],
   "year": 2000,
   "venue": "Proceedings of the 27th annual conference on Computer graphics and interactive techniques  - SIGGRAPH '00",
   "url": "https://doi.org/10.1145/344779.344862",
   "ids": {
    "doi": "10.1145/344779.344862"
   },
   "license": null,
   "extra": {
    "csl_type": "proceedings-article"
   },
   "provenance": {
    "title": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/344779.344862",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/344779.344862",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/344779.344862",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/344779.344862",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/344779.344862",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 1,
   "__bib": "lewis2000pose"
  }
 ],
 "presets": [
  {
   "id": "linear-blend-skinning-specimen",
   "title": "Toy side view of linear blend skinning candy-wrapper collapse under a 170 degree twist",
   "runtime": "glsl-fragment",
   "params": {
    "TWIST": 3,
    "RADIUS": 0.11
   },
   "code": "// Toy side view of a twisted tube skinned with LBS (top, candy-wrapper collapse) vs a volume-preserving ideal (bottom ghost).\nconst float TWIST = 3.0;   // relative bone twist (radians) about the tube axis\nconst float RADIUS = 0.11;\nfloat lbsR(float w) { return RADIUS * sqrt((1.0 - w) * (1.0 - w) + w * w + 2.0 * w * (1.0 - w) * cos(TWIST)); }\nvec3 tube(vec2 p, float cy, float rad, vec3 base) {\n    float y = (p.y - cy) / max(rad, 1e-4);\n    vec3 c = vec3(0.04, 0.05, 0.07);\n    if (abs(y) < 1.0) {\n        float z = sqrt(1.0 - y * y);\n        float band = 0.5 + 0.5 * sin(p.x * 60.0 + TWIST * smoothstep(0.1, 0.9, p.x) * 0.0);\n        c = base * (0.25 + 0.8 * z * z) * (0.8 + 0.2 * band);\n        c += 0.25 * pow(z, 8.0);\n    }\n    return c;\n}\nvoid mainImage(out vec4 fragColor, in vec2 fragCoord) {\n    vec2 p = fragCoord / iResolution.xy;\n    float w = clamp((p.x - 0.1) / 0.8, 0.0, 1.0);\n    bool in_x = p.x > 0.1 && p.x < 0.9;\n    vec3 col = vec3(0.07, 0.08, 0.1);\n    if (in_x) {\n        col = tube(p, 0.7, lbsR(w), vec3(0.95, 0.45, 0.3));\n        col = max(col, tube(p, 0.3, RADIUS, vec3(0.4, 0.65, 0.95)) * step(abs(p.y - 0.3), RADIUS));\n        float d = abs(abs(p.y - 0.7) - RADIUS);\n        col = mix(col, vec3(0.9), smoothstep(0.004, 0.0, d) * 0.25);\n    }\n    // bones\n    col = mix(col, vec3(1.0, 0.9, 0.3), smoothstep(0.006, 0.0, abs(p.y - 0.5) - 0.001) * 0.0);\n    float joint = min(abs(p.x - 0.1), abs(p.x - 0.9));\n    col = mix(col, vec3(1.0, 0.9, 0.3), smoothstep(0.004, 0.0, joint) * 0.8);\n    fragColor = vec4(pow(col, vec3(0.6)), 1.0);\n}\n",
   "basis": "original",
   "license_note": "written for this index",
   "execution_fidelity": "conceptual-diagram",
   "proof": {
    "kind": "rendered",
    "label": "rendered 2026-11-29",
    "ok": true,
    "proof": {
     "ok": true,
     "technique": "linear-blend-skinning",
     "runtime": "glsl-fragment",
     "checked_at": "2026-11-29T15:51:50.471Z",
     "renderer": "Chromium 145.0.7632.6 headless, WebGL2 via ANGLE/SwiftShader, 512×512, iTime=1.5",
     "stats": {
      "mean": 0.3116,
      "std": 0.2326,
      "unique_colors": 159
     },
     "image": "/specimens/linear-blend-skinning-specimen.webp",
     "reason": null
    }
   }
  }
 ],
 "related": [
  "dual-quaternion-skinning",
  "fabrik-ik",
  "motion-matching",
  "shape-matching-deformation"
 ],
 "extends": [],
 "supersedes": [],
 "combines_with": [
  {
   "id": "fabrik-ik",
   "why": "IK produces joint transforms that skinning then applies to the mesh"
  }
 ],
 "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/linear-blend-skinning.json"
 },
 "solves": [
  "need standard skeletal animation for characters",
  "default fast character deformation in engines",
  "bind a mesh to bones with per-vertex weights",
  "broad compatibility rigging baseline",
  "cheap skinning for many animated characters"
 ],
 "authority": "Jacobson et al.",
 "url": "https://texelatlas.vercel.app/t/linear-blend-skinning/",
 "execution_fidelity": "conceptual-diagram",
 "fidelity_label": "Visual Diagram",
 "benchmark_eligible": false,
 "gpu_weight": {
  "weight_x": 1.41,
  "tier": "feather",
  "p50_ms": 0.0464,
  "p95_ms": 0.0486,
  "baseline_p50_ms": 0.0329,
  "gpu": "Tesla T4/PCIe/SSE2",
  "resolution": "1920x1080",
  "method": "opengl-timer-query",
  "frames": 40,
  "preset_id": "linear-blend-skinning-specimen",
  "execution_fidelity": "conceptual-diagram",
  "fidelity_label": "Visual Diagram",
  "benchmark_eligible": false,
  "generated_at": "2026-11-30T21:07:47Z",
  "l4": {
   "weight_x": 1.2,
   "tier": "feather",
   "p50_ms": 0.0191,
   "p95_ms": 0.0191,
   "speedup_x": 2.43,
   "gpu": "NVIDIA L4/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0159
  },
  "a100": {
   "weight_x": 1,
   "tier": "feather",
   "p50_ms": 0.0288,
   "p95_ms": 0.0288,
   "speedup_x": 1.61,
   "gpu": "NVIDIA A100-SXM4-40GB/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0288
  }
 }
}