threejs-loaders

Load GLTF, textures, HDR, and EXR assets into Three.js scenes.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/alexzhang1030/platform-demo --skill threejs-loaders-alexzhang1030
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threejs-loaders
Source: https://github.com/alexzhang1030/platform-demo/tree/main/.agents/skills/threejs-loaders
Command: npx skills add https://github.com/alexzhang1030/platform-demo --skill threejs-loaders-alexzhang1030

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you load 3D assets in Three.js without guesswork, covering models, textures, HDR environments, progress feedback, and recovery patterns.

Core Features & Use Cases

  • Model Loading: Load GLTF, GLB, FBX, OBJ, STL, and PLY assets into scenes.
  • Texture and Environment Maps: Configure texture settings, cube maps, HDR, EXR, and PMREM workflows for realistic lighting.
  • Robust Asset Workflows: Use LoadingManager, caching, async promises, retries, fallbacks, and path handling for production-ready loading flows.
  • Use Case: Import a compressed product model, show loading progress, apply environment lighting, and swap in a fallback if the primary asset fails.

Quick Start

Use this skill to load a GLTF model into a Three.js scene and apply the recommended setup for textures, environment lighting, and loading progress.

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 in Three.js with async loading and progress tracking?

To load GLTF models in Three.js with async loading, use a LoadingManager to track progress and promises to handle the async model loading. This approach ensures reliable asset delivery while providing progress feedback.

What is the best way to handle HDR environment lighting in Three.js?

The best way to handle HDR environment lighting in Three.js involves using PMREM workflows. Configuring HDR and EXR environments with PMREM generates realistic lighting for your 3D scenes and ensures proper texture settings.

Why does asset loading fail in Three.js and how do I implement fallbacks?

Asset loading fails in Three.js due to missing files or path issues. Implement fallbacks and retries using a LoadingManager to catch errors and swap in a fallback model if the primary asset fails.

Does Three.js support loading compressed GLB and FBX models?

Yes, Three.js supports loading compressed GLB and FBX models. The asset loading process includes compression support and caching for production-ready loading workflows, allowing you to import compressed product models efficiently.

Can I use LoadingManager for caching and loading multiple textures?

Yes, you can use LoadingManager for caching and loading multiple textures in Three.js. It manages texture settings, cube maps, and async promises to ensure robust asset workflows for interactive rendering.