threejs-loaders

Load GLTF, OBJ, FBX, STL, and PLY models into Three.js scenes.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/MCERQUA/jam-skills --skill threejs-loaders-mcerqua
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threejs-loaders
Source: https://github.com/MCERQUA/jam-skills/tree/main/threejs-loaders
Command: npx skills add https://github.com/MCERQUA/jam-skills --skill threejs-loaders-mcerqua

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires three, draco-loader, ktx2-loader, OBJLoader, MTLLoader, FBXLoader, STLLoader, PLYLoader, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the process of loading 3D models, textures, and environment maps into a Three.js scene, allowing for seamless integration into web-based applications.

Core Features & Use Cases

  • GLTF/GLB Loading: Handle the most common 3D format with support for Draco and KTX2 compression.
  • Texture Loading: Includes support for various textures, including HDR, EXR, and cube textures.
  • GLTF with Draco Compression: Load models with Draco-compressed geometry for efficient loading.
  • GLTF with KTX2 Textures: Load models with KTX2 compressed textures for high-quality, efficient rendering.
  • OBJ + MTL: Load models in OBJ format with associated MTL materials.
  • FBX: Load complex models and animations in FBX format.
  • STL: Load 3D models in STL format for 3D printing and analysis.
  • PLY: Load point cloud data in PLY format for detailed 3D models.
  • Async/Promise Loading: Use asynchronous loading for efficient handling of multiple assets.
  • Caching: Utilize built-in caching or custom asset management for performance optimization.
  • Load from Different Sources: Support for loading textures and models from Data URL, Blob URL, ArrayBuffer, custom paths, and CDN URLs.

Quick Start

Import the Three.js library and create a GLTF loader. Load a GLTF model with loader.load('model.glb', (gltf) => { scene.add(gltf.scene); });.

Frequently Asked Questions about threejs-loaders

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I load GLTF models with Draco compression in Three.js?

You can load GLTF models with Draco compression in Three.js by using a specialized loader that handles Draco-compressed geometry. This ensures efficient loading of 3D assets without compromising visual quality in web applications.

Does Three.js support loading FBX models and animations?

Yes, Three.js supports loading complex models and animations in FBX format. This allows developers to import intricate 3D assets with embedded animation data directly into a web-based WebGL scene for interactive rendering.

Can I load 3D models from a Blob URL or ArrayBuffer in Three.js?

Yes, you can load 3D models and textures from various sources including Blob URLs, ArrayBuffers, Data URLs, and CDN URLs. This flexibility allows seamless integration of assets from different input streams into your Three.js scene.

What is the best way to load multiple 3D assets efficiently in Three.js?

The best way to load multiple 3D assets efficiently is by using asynchronous Promise-based loading combined with built-in caching. This method optimizes performance by preventing redundant network requests and managing asset lifecycle smoothly.

How do I load KTX2 compressed textures for Three.js rendering?

You load KTX2 compressed textures by utilizing a KTX2 loader integration within your Three.js workflow. This supports high-quality, efficient rendering by decoding compressed texture formats directly on the GPU.

Do I need specific loaders to handle STL and PLY point cloud data in Three.js?

Yes, you need specific loaders to handle STL models for 3D printing and PLY format for point cloud data. These dedicated loaders parse their respective formats and integrate the detailed 3D models into the Three.js environment.