Linear blend skinning
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.
Also known as LBS, skeletal subspace deformation, matrix palette skinning
In the family Simulation & animation, skeletal animation
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | Built in | new THREE.SkinnedMesh(geometry, material); mesh.bind(skeleton) docs |
| Babylon.js 9.38.0 | Built in | BABYLON.Skeleton + mesh.skeleton (GPU bone matrices) docs |
| Godot 4.7 | Built in | MeshInstance3D.skeleton / skin with a Skeleton3D docs |
| Unity | Built in | Skinned Mesh Renderer / Model Import > Rig docs Skinned Mesh Renderer with GPU skinning. |
| Unreal 5.7 | Built in | Skeletal Mesh asset and SkeletalMeshComponent (GPU/CPU bone-weighted vertex skinning) docs |
| Blender 5.2 | Built in | Add Modifier > Deform > Armature (Preserve Volume off) docs |
| WebGPU W3C | None found | |
| Metal | None found |
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 choose it
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
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 (meshless deformation) or Extended Position-Based Dynamics for secondary jiggle and soft tissue layered on top, and FABRIK inverse kinematics to drive the skeleton's pose from targets.
Field marks
- 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
Presets
Toy side view of linear blend skinning candy-wrapper collapse under a 170 degree twist
{
"TWIST": 3,
"RADIUS": 0.11
}Show GLSL (33 lines)
// 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
Measured GPU weight & timing
| Preset | GPU | Weight / p50 / p95 | Method |
|---|---|---|---|
| linear-blend-skinning-specimen | Tesla T4 1920x1080 | 1.41× baseline (feather) · 0.046 ms / 0.049 ms | opengl-timer-query · 40 frames · GPU Weight Atlas · Colab T4 sweep |
| linear-blend-skinning-specimen | NVIDIA L4 1920x1080 | 1.20× baseline (feather) · 0.019 ms / 0.019 ms · 2.4× faster on L4 | opengl-timer-query · Cross-architecture validation |
| linear-blend-skinning-specimen | NVIDIA A100-SXM4-40GB 1920x1080 | 1.00× baseline (feather) · 0.029 ms / 0.029 ms · 1.6× faster on A100 | opengl-timer-query · Cross-architecture validation |
Crosses
- FABRIK inverse kinematics: IK produces joint transforms that skinning then applies to the mesh
Sources
- primaryAlec Jacobson et al.. Skinning: Real-time Shape Deformation. SIGGRAPH 2014 course.Verified via live page · 2026-11-29
- primaryJ. P. Lewis, Matt Cordner, Nickson Fong (2000). Pose space deformation. Proceedings of the 27th annual conference on Computer graphics and interactive techniques - SIGGRAPH '00.Verified via crossref · 2026-11-29doi:10.1145/344779.344862