Skip to content

Loader recipes for glTF/GLB models in three.js r187, covering compressed decoders and animation playback.

CCM score
57 of 100
skills.sh installs
15.1K
GitHub stars
12.1K
last updated
Nov 29, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full model path: inspect with gltf-transform, load with GLTFLoader, frame the model, then play or blend clips
  • Includes patterns for AnimationMixer cross-fades, DRACO, Meshopt, and KTX2 decoder setup, plus SkeletonUtils cloning for animated copies
  • Enforces a pre-flight check with npx @gltf-transform/cli inspect and validate to catch missing decoder extensions before debugging loader code
  • Designed for three.js projects where a model is invisible, decoder files return 404, or animations never play

Install

$ npx -y skills add gamedev-skills/awesome-gamedev-agent-skills --skill threejs-gltf-loading -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

three.js glTF loading

Loads .gltf / .glb models, including compressed geometry (DRACO, Meshopt) and textures (KTX2), and plays their animation clips. Patterns target r187; an existing project keeps its pinned release unless the user asks to upgrade. glTF is the runtime format to default to: OBJ has no scene graph or animation, and FBX is heavy to parse in a browser.

When to use

  • Importing a model or character, inspecting its node hierarchy, playing or blending clips, spawning many copies of an animated enemy, or fixing a model that does not appear.
  • Files are .gltf / .glb, or code imports GLTFLoader, DRACOLoader or KTX2Loader from three/addons/loaders/....
  • Not for the renderer, camera and loop (threejs-scene-setup), the model's lighting and materials (threejs-materials-lighting), or modelling and export settings in a DCC tool.

Workflow

Details

Repository
github.com/gamedev-skills/awesome-gamedev-agent-skills
Categories
3D, CAD & Modeling, Frontend & UI Code
First seen
Nov 29, 2026

Questions

What does the threejs-gltf-loading skill do?

It is a three.js skill for loading glTF and GLB 3D models into a scene, covering how the agent should set up the loader and handle the loaded assets. It is one of the skills in the awesome-gamedev-agent-skills collection, which covers 12 game engines.

How do I install the threejs-gltf-loading skill?

Run npx -y skills add gamedev-skills/awesome-gamedev-agent-skills --skill threejs-gltf-loading -y inside your project. After that, your agent can load glTF models in three.js projects using this skill.

Where does threejs-gltf-loading rank in its category?

It sits in the 3D, CAD and Modeling category and ranks in its top 25. Other skills that lead the same category include threejs-fundamentals, threejs-shaders, threejs-materials, threejs-geometry and threejs-interaction.

Who is threejs-gltf-loading for?

It is for developers building three.js web scenes who want their AI coding agent to load glTF or GLB models correctly. It fits projects that bring external 3D assets into a browser game or visualization.

More from gamedev-skills/awesome-gamedev-agent-skills

All 69

Similar to Threejs Gltf Loading

More 3D, CAD & Modeling