whatisgithub

What is three-gltf-plugins?

mrdoob/three-gltf-plugins — explained in plain English

Analysis updated 2026-07-27 · repo last pushed 2021-02-15

11Audience · developerComplexity · 2/5DormantSetup · moderate

In one sentence

A set of ready-made add-ons that help Three.js load and save 3D models using advanced glTF file format features, so developers do not have to write custom integration code.

Mindmap

mindmap
  root((repo))
    What it does
      Loads advanced glTF features
      Saves 3D model data
      Avoids custom code
    Tech stack
      Three.js
      JavaScript
      glTF format
    Use cases
      Online product viewers
      Swap material finishes
      Test new glTF features
    Audience
      Web 3D developers
      3D creators
    Notes
      May have limitations
      Copy and modify code

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Build an online product viewer where customers can swap between different material finishes on furniture.

USE CASE 2

Load 3D models that use compressed textures for faster web loading.

USE CASE 3

Experiment with new or experimental glTF features before they become official standards.

What is it built with?

Three.jsJavaScriptglTF

How does it compare?

mrdoob/three-gltf-plugins100/stock-analysis-markov100/tab-organizer
Stars111111
LanguageJavaJavaScript
Last pushed2021-02-152016-12-252021-03-01
MaintenanceDormantDormantDormant
Setup difficultymoderateeasyeasy
Complexity2/53/51/5
Audiencedeveloperresearchergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

You need an existing Three.js project setup and a basic understanding of how to integrate add-ons into its loader and exporter.

The explanation does not mention a license, so the terms of use are unclear.

So what is it?

Three-gltf-plugins is a collection of add-ons for Three.js, a popular tool for creating 3D graphics in web browsers. These add-ons help Three.js handle specific advanced features of glTF, which is a widely used file format for 3D models. Think of glTF as the JPEG of 3D: it is a standard way to package a 3D object so it can be opened anywhere. The plugins let you load and save 3D models that use certain extra glTF features that the standard Three.js tools do not support out of the box. Normally, if a 3D model uses a special glTF feature that Three.js does not understand, a developer would need to write custom code to make it work. That requires deep knowledge of the glTF specification and Three.js internals, which can be a real hurdle. This project steps in to save you that effort by offering ready-made plugins. You just plug them into your existing Three.js setup, and your 3D models with these special features will load or export correctly without you writing the complex integration code yourself. This project is aimed at developers and creators working with 3D models on the web who need to use features like material variants, where a single object can switch between different surface looks, like a car with different paint jobs, or compressed textures for faster loading. For example, if you are building an online product viewer where a customer can swap between different material finishes on a piece of furniture, the plugin for material variants makes that straightforward. It is also useful for teams who want to experiment with newer or experimental glTF features before they become officially standardized. The project exists because some glTF features are still being finalized or do not neatly match how Three.js is structured, so they have not been built into the core library yet. The README notes that the plugins might have some limitations because of this mismatch. If a plugin does not cover your specific needs, the project encourages you to copy and modify the code to fit your situation. There is also an online demo so you can see the plugins in action before integrating them.

Copy-paste prompts

Prompt 1
I have a Three.js scene and need to let users switch between different paint jobs on a car model. How do I use the material variants plugin from three-gltf-plugins to set that up?
Prompt 2
I want to load a glTF model that uses compressed textures in my Three.js app. Walk me through integrating the right plugin from three-gltf-plugins so the textures load correctly.
Prompt 3
Show me how to install and plug a three-gltf-plugins add-on into my existing Three.js glTF loader so I can export a model with advanced glTF features intact.

Frequently asked questions

What is three-gltf-plugins?

A set of ready-made add-ons that help Three.js load and save 3D models using advanced glTF file format features, so developers do not have to write custom integration code.

Is three-gltf-plugins actively maintained?

Dormant — no commits in 2+ years (last push 2021-02-15).

What license does three-gltf-plugins use?

The explanation does not mention a license, so the terms of use are unclear.

How hard is three-gltf-plugins to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is three-gltf-plugins for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.