---
id: "linear-blend-skinning"
title: "Linear blend skinning"
aliases: [LBS, skeletal subspace deformation, matrix palette skinning]
domain: "simulation"
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"
cost: "cheap"
authority: "Jacobson et al."
url: "https://texelatlas.vercel.app/t/linear-blend-skinning/"
sources_verified_at: "2026-11-29"
---
# Linear blend skinning (Jacobson et al.)

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

## Reach for it when

- 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

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

Choose it as the baseline character deformation: fast, standard, supported everywhere. Prefer [Dual quaternion skinning](https://texelatlas.vercel.app/t/dual-quaternion-skinning.md) when twisting or bending joints collapse (candy-wrapper, elbow volume loss), [Shape matching (meshless deformation)](https://texelatlas.vercel.app/t/shape-matching-deformation.md) or [Extended Position-Based Dynamics](https://texelatlas.vercel.app/t/xpbd.md) for secondary jiggle and soft tissue layered on top, and [FABRIK inverse kinematics](https://texelatlas.vercel.app/t/fabrik-ik.md) to drive the skeleton's pose from targets.

## Cost

cheap — Cheap: a few matrix-vector products per vertex.
Measured GPU Weight: 1.41× baseline (feather) — 0.0464 ms median / 0.0486 ms p95 on Tesla T4/PCIe/SSE2 @ 1920x1080 (opengl-timer-query).
Ada L4 scaling: 1.2× baseline (feather) — 0.0191 ms median (2.43× faster on L4).
Ampere A100 scaling: 1× baseline (feather) — 0.0288 ms median (1.61× faster on A100).

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

## Engine support

- babylonjs: builtin — `BABYLON.Skeleton + mesh.skeleton (GPU bone matrices)` (evidence: https://github.com/BabylonJS/Babylon.js/blob/9.38.0/packages/dev/core/src/Bones/skeleton.ts, checked 2026-12-01)
- blender: builtin — `Add Modifier > Deform > Armature (Preserve Volume off)` (evidence: https://docs.blender.org/manual/en/5.2/modeling/modifiers/deform/armature.html, checked 2026-12-01)
- godot: builtin — `MeshInstance3D.skeleton / skin with a Skeleton3D` (evidence: https://github.com/godotengine/godot/blob/4.7.2-stable/doc/classes/Skeleton3D.xml, checked 2026-12-01)
- threejs: builtin — `new THREE.SkinnedMesh(geometry, material); mesh.bind(skeleton)` (evidence: https://github.com/mrdoob/three.js/blob/r187/src/objects/SkinnedMesh.js, checked 2026-12-01)
- unity: builtin — `Skinned Mesh Renderer / Model Import > Rig` (evidence: https://docs.unity3d.com/6000.0/Documentation/ScriptReference/SkinnedMeshRenderer.html, checked 2026-12-01) — Skinned Mesh Renderer with GPU skinning.
- unreal: builtin — `Skeletal Mesh asset and SkeletalMeshComponent (GPU/CPU bone-weighted vertex skinning)` (evidence: https://dev.epicgames.com/documentation/en-us/unreal-engine/skeletal-mesh-assets-in-unreal-engine, checked 2026-12-01)

## Dataflow

- Inputs: mesh, skeleton
- Outputs: mesh, animation
- Platforms: webgl2, webgpu, desktop-gpu, mobile-gpu, cpu, unity, unreal, godot, blender

## Presets

### Toy side view of linear blend skinning candy-wrapper collapse under a 170 degree twist (glsl-fragment; rendered 2026-11-29)

```json
{
  "TWIST": 3,
  "RADIUS": 0.11
}
```

```glsl
// Toy side view of a twisted tube skinned with LBS (top, candy-wrapper collapse) vs a volume-preserving ideal (bottom ghost).
const float TWIST = 3.0;   // relative bone twist (radians) about the tube axis
const float RADIUS = 0.11;
float lbsR(float w) { return RADIUS * sqrt((1.0 - w) * (1.0 - w) + w * w + 2.0 * w * (1.0 - w) * cos(TWIST)); }
vec3 tube(vec2 p, float cy, float rad, vec3 base) {
    float y = (p.y - cy) / max(rad, 1e-4);
    vec3 c = vec3(0.04, 0.05, 0.07);
    if (abs(y) < 1.0) {
        float z = sqrt(1.0 - y * y);
        float band = 0.5 + 0.5 * sin(p.x * 60.0 + TWIST * smoothstep(0.1, 0.9, p.x) * 0.0);
        c = base * (0.25 + 0.8 * z * z) * (0.8 + 0.2 * band);
        c += 0.25 * pow(z, 8.0);
    }
    return c;
}
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
    vec2 p = fragCoord / iResolution.xy;
    float w = clamp((p.x - 0.1) / 0.8, 0.0, 1.0);
    bool in_x = p.x > 0.1 && p.x < 0.9;
    vec3 col = vec3(0.07, 0.08, 0.1);
    if (in_x) {
        col = tube(p, 0.7, lbsR(w), vec3(0.95, 0.45, 0.3));
        col = max(col, tube(p, 0.3, RADIUS, vec3(0.4, 0.65, 0.95)) * step(abs(p.y - 0.3), RADIUS));
        float d = abs(abs(p.y - 0.7) - RADIUS);
        col = mix(col, vec3(0.9), smoothstep(0.004, 0.0, d) * 0.25);
    }
    // bones
    col = mix(col, vec3(1.0, 0.9, 0.3), smoothstep(0.006, 0.0, abs(p.y - 0.5) - 0.001) * 0.0);
    float joint = min(abs(p.x - 0.1), abs(p.x - 0.9));
    col = mix(col, vec3(1.0, 0.9, 0.3), smoothstep(0.004, 0.0, joint) * 0.8);
    fragColor = vec4(pow(col, vec3(0.6)), 1.0);
}

```

Attribution: written for this index

## Combines with

- [FABRIK inverse kinematics](https://texelatlas.vercel.app/t/fabrik-ik.md): IK produces joint transforms that skinning then applies to the mesh

## Sources

1. [primary] Alec Jacobson et al. Skinning: Real-time Shape Deformation. SIGGRAPH 2014 course. https://skinning.org/ (verified via http on 2026-11-29)
2. [primary] J. P. Lewis, Matt Cordner, Nickson Fong (2000) Pose space deformation. Proceedings of the 27th annual conference on Computer graphics and interactive techniques  - SIGGRAPH '00. https://doi.org/10.1145/344779.344862 (verified via crossref on 2026-11-29)

## Cite this entry

Texel. "Linear blend skinning." https://texelatlas.vercel.app/t/linear-blend-skinning/ (accessed 2026-12-01).
