threejs-loaders

Load and manage GLTF, texture, and HDR environment assets in Three.js.

1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/shige1014-dev/backup-OpenMontage --skill threejs-loaders-shige1014-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threejs-loaders
Source: https://github.com/shige1014-dev/backup-OpenMontage/tree/main/.agents/skills/threejs-loaders
Command: npx skills add https://github.com/shige1014-dev/backup-OpenMontage --skill threejs-loaders-shige1014-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Three.js projects often struggle with orchestrating multiple asset types (GLTF models, textures, HDR environments) and managing loading order, progress, and errors. This Skill provides a unified approach to loading and caching 3D assets to streamline scene setup and runtime performance.

Core Features & Use Cases

  • GLTF/GLB loading with GLTFLoader, including optional DRACO compression
  • Texture and environment map loading via TextureLoader and CubeTextureLoader, with HDR/EXR support
  • Progress tracking, error handling, and caching to avoid redundant loads
  • Async/promise-based loading and multi-asset orchestration for complex scenes
  • Use Case: Build a web-based product configurator that loads models, textures, and lighting environments on demand

Quick Start

Start by creating a minimal Three.js scene and use GLTFLoader to load your first model and attach it to the 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 multiple GLTF models and HDR textures asynchronously in Three.js?

Load GLTF models and HDR textures asynchronously in Three.js by using promise-based workflows to orchestrate multiple assets. This method tracks loading progress globally and handles errors before attaching objects to the scene.

What is the best way to load DRACO compressed GLTF files in a Three.js scene?

Load DRACO compressed GLTF files in Three.js by configuring GLTFLoader with DRACOLoader. This decodes compressed mesh geometry efficiently, reducing asset file sizes while maintaining optimized rendering performance for web-based scenes.

How does asset caching work for Three.js texture and environment map loading?

Asset caching for Three.js texture and environment map loading prevents redundant network requests by storing loaded files. Reusing cached textures and HDR environments optimizes runtime performance and speeds up scene initialization.

Do I need a basic Three.js scene setup before implementing async asset loading?

Yes, you need a basic Three.js scene setup before implementing async asset loading. The loaders require an active scene object to attach loaded GLTF models, textures, and HDR environment maps for rendering.

Can I use KTX2 textures and PMREM for optimized HDR rendering in Three.js?

Yes, you can use KTX2 textures and PMREM for optimized HDR rendering in Three.js. These advanced options enhance environment map processing and texture compression, improving overall rendering quality and performance.