Characters & riggingAnimation & visuals
How to Export a Blender Character to GLB with Animation
Export a textured and animated basketball character, then verify its appearance and playback.
In Blender, choose File → Export → glTF 2.0, select glTF Binary (.glb), and export the character meshes, armature and animation. Reimport the GLB into an empty scene and play the clip. On this basketball player, check that the jersey still has its markings and the smile peaks with the head tilt.
We'll use the Cartoon NBA Basketball Player for the example. The package includes a Blender source and a GLB. If the supplied GLB already has the look and motion you need, open it in your target app first. The export steps below are for a version you've edited yourself.
1. Animate a 25-frame test clip
Work in a copy of the Blender file. Make a 25-frame test: the player faces forward on frame 1, tilts his head and smiles on frame 13, then returns to neutral on frame 25. Pick a feature on the uniform that you'll recognize in a second app. Take a reference image at the middle frame. To test a bigger movement, start with one of your saved poses. ThreeDee’s guide to saving and reusing character poses in Blender shows how to store a gesture and apply it to a new shot.
In Blender, play the timeline and watch the head and mouth together. If you're using separate facial controls, check which control drives the smile before keyframing it. A shape key can exist in the model even when nothing changes its value over time. For a closer look at testing a face rig, see the ARKit blendshape rehearsal.
2. Select the character meshes and check their textures
Select the player's body, uniform, shoes, eyes, teeth and any hair mesh you want in the shot, plus the armature that deforms them. Include the ball if the shot uses it. Leave the studio lights, backdrop, control-shape objects and unused outfit or hair variants out of this selection. For the basketball player, the solid hair option is a simpler first export than the particle hairstyle.
Open the jersey material in the Shader Editor. Follow the color input back from the Principled BSDF node. A UV-mapped Image Texture connected to Base Color is an easy starting point. If the stripe or logo comes from a procedural node network, bake the result to a UV image in your working copy and connect that image. Check that Blender can reopen each image before exporting. Packing a missing image into the GLB won't recover it.

The supplied GLB in a browser viewer. The lettering and gold trim give you two details to compare with the Blender version.
Blender 5.2's exporter reported that its packed UDIM images needed unpacking, then failed when it tried to read a missing tile from disk. We wrote the packed tiles to a separate working folder, pointed the tiled images there, and reloaded them. If you see the same message, make sure the numbered tile files exist and open before trying the export again. Save changes in a working copy so the original texture paths stay available.
3. Export the shot as one GLB
These settings use Blender 5.2. In the glTF export dialog:
| Setting | What to choose for this test |
|---|---|
| Format | glTF Binary (.glb) to package the mesh data and image textures in one file. |
| Include | Turn on Selected Objects after selecting the character parts and armature. |
| Skinning | Keep skin export enabled so the jersey and body follow the skeleton. We included deformation bones for the player's test clip. |
| Shape Keys | Keep this enabled to export facial shapes as morph targets. |
| Animation | Enable Animations and Shape Key Animations. Choose Scene, then turn off Split Animation by Object. Set the scene frame range to 1–25. This keeps the head tilt and animated facial meshes in one clip. |
Save a new file such as basketball-head-tilt.glb. Scene is useful for this short test because the body and face should play together. If you're delivering a selectable library of clips, build and test those actions individually. Blender documents how its different export modes group actions and NLA tracks. Blender glTF export manual
Prefer to follow the export dialog on screen? Watch How to export to GLB from Blender on the ThreeDee YouTube channel.
4. Check playback and inspect a game pose
Reimport the GLB into an empty Blender scene and play the clip. On the short head-tilt test, check frame 13 for the head angle, smile and jersey markings. Then play the clip in the app that will use the asset. For a browser check, drop your file into Don McCurdy’s glTF Viewer and choose the clip from its animation controls. Compare the same frame and camera angle where you can.

Two poses from the supplied basketball GLB, opened in a browser viewer. Use the standing pose to inspect the jersey lettering. The leap gives you a clearer view of the armhole and the shorts around the bent leg.
What survived the separate head-tilt export? We keyed the head control and, in an isolated copy, keyed the left and right smile weights directly on the body and teeth. We cleared the existing facial animation and drivers from that copy to give the test weights a single input. Keep your original rig intact if you want to compare its driver-based performance later.
The exported GLB contained 11 meshes, one skin, one animation clip and 46 embedded images. On reimport, the head tilted 14 degrees at frame 13 and returned to its starting angle at frame 25. The left smile weight read 0, 1 and 0 at frames 1, 13 and 25. A separate Three.js playback check decoded all 46 images, moved the head and sampled the smile at roughly 0.99 halfway through the clip.
What changes between a Blender rig and a GLB?
GLB is the binary form of glTF, a format for delivering models to viewers and game engines. It can carry a skeleton, vertex weights, textures, morph targets and animation clips. A Blender scene also contains the tools used to make that performance. The distinction matters when the character looks fine at rest but the jersey cuts into the shoulder during a layup. Khronos glTF specification
Bones, weight paint and clothing that clips
The exported skin tells the viewer which joints move each vertex and by how much. Weight Paint is Blender’s tool for editing those numbers. IK targets, custom control shapes and constraints belong to the authoring rig. For a constrained arm, sample the evaluated motion on the exported skeleton and play that clip in the target viewer.
- Key an arms-down pose and an overhead shot. In Blender, pause at the first frame where the upper arm comes close to the jersey. Note the frame and camera angle.
- Reimport the GLB into an empty scene. Compare the same frame and view, then scrub the frames on either side. If the upper arm itself takes a different path, inspect the exported joints and sampled animation first.
- If the arm follows the same path but skin shows through the jersey, compare the garment and body weights near the armhole. Check for missing joint influences or an export or viewer limit that drops smaller weights. If the surface bends differently at a twist, check whether the Blender rig relies on the Armature modifier’s Preserve Volume setting. Test weight or mesh-clearance changes on a copy.
- If the clothing depended on a corrective shape driven by the shoulder, inspect its morph weight during playback. A morph target can be present while its driver is absent. Export the evaluated weight animation if the target app needs to play that correction. Cloth simulation or collision in Blender also needs a delivery plan of its own.
If the reimport matches Blender but the target viewer clips, use the same clip and time in both. Check the viewer’s skinning and joint-influence support before repainting the model.
Materials, painted details and transparency
- A painted jersey logo disappears. Check how its color reaches the material. For an image texture, verify the UV map and the image connected to Base Color. For vertex paint, verify that the color attribute was exported and that the target material uses it. Bake procedural artwork to a texture when the shader depends on Blender-specific nodes.
- Eyelashes or hair cards appear as solid rectangles. glTF supports transparency. Inspect the exported material’s alpha mode:
OPAQUEignores base-color alpha,MASKmakes a cutout at a threshold, andBLENDallows partial transparency. Connect the texture’s alpha to the material, then check the result against a light and a dark background in the target viewer. Overlapping blended cards can draw in a different order as you orbit. - The colors arrive but the render looks flatter. Compare the base-color markings first. Then compare the lighting, environment reflections and roughness. A Blender studio render and a web viewer can light the same material differently. The exporter documents the material node setups it recognizes. Blender glTF material and animation guide
Quick checks for the exported clip
| What you see | What to check first |
|---|---|
| The player moves, but the jersey has lost its markings. | Confirm the exported material uses the intended UV image. Check the image file and material assignment on the jersey mesh. |
| The head tilts, but the mouth stays still. | Try the imported smile slider by hand. If it works, inspect the animation settings and keyed weights. If the slider is missing, check the exported mesh and the Shape Keys setting. |
| The face moves in Blender and freezes in another app. | Confirm which clip the destination plays and whether that app supports animated morph weights. A working manual slider only establishes that the shape was exported. |
Once the short shot plays correctly, export the full performance with the same selection and material setup. Keep the small test GLB next to the delivery file. It gives you a known shot to compare if the next change breaks playback.
Need help getting a GLB ready?
ThreeDee can scope a custom job to prepare an export, troubleshoot a rig or material, or adapt a pose for your app. Include the source format, the app or viewer you’re targeting, and a screenshot or clip that shows what breaks.
Ask ThreeDee about your GLB export
Try the export with the basketball player
The model page includes the Blender source and GLB formats, pose references and animation previews.
