threejs-textures

Configure and apply Three.js textures across materials and environment maps.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/hanzoai/video --skill threejs-textures-hanzoai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threejs-textures
Source: https://github.com/hanzoai/video/tree/main/.agents/skills/threejs-textures
Command: npx skills add https://github.com/hanzoai/video --skill threejs-textures-hanzoai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Three.js projects often require managing multiple textures across materials, with different color spaces, mappings, and environment textures; this can be error-prone and verbose.

Core Features & Use Cases

  • Texture loading and configuration: load color, normal, roughness, and environment textures with correct color spaces and mapping.
  • UV handling and atlases: manage UV sets, second UV coordinates for AO maps, and sprite atlas binding.
  • Environment textures and HDR: integrate cubemaps and HDR textures for realistic lighting.

Quick Start

Load a texture with THREE.TextureLoader and apply it to a MeshStandardMaterial map.

Frequently Asked Questions about threejs-textures

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

FAQPage Schema
How do I load and apply Three.js textures to a MeshStandardMaterial?

Use THREE.TextureLoader to load textures and assign them to the map property of a MeshStandardMaterial. This Skill provides loading and configuration patterns to correctly apply color, normal, and roughness textures across materials in Three.js scenes.

Why do my Three.js textures look washed out or have incorrect colors?

Incorrect color spaces cause washed out textures in Three.js. This Skill provides configuration patterns for proper colorSpace handling, ensuring color, normal, and roughness maps are interpreted correctly across material properties for accurate real-time rendering.

How do I set up UV mapping and second UV coordinates for AO maps in Three.js?

UV handling in Three.js requires managing UV sets and second UV coordinates for AO maps. This Skill offers patterns to manage UV sets, bind sprite atlases, and configure UV2 coordinates for ambient occlusion textures on 3D meshes.

What's the best way to integrate cubemaps and HDR environment textures for realistic lighting in Three.js?

Integrating cubemaps and HDR textures provides realistic lighting in Three.js. This Skill supplies configuration patterns to load and apply environment maps, supporting cubemaps and HDR textures to cover common web-based 3D lighting use cases.

Can I configure wrap modes and mipmaps for WebGL textures in Three.js?

Configuring wrap modes and mipmaps is supported for WebGL textures in Three.js. This Skill covers texture configuration including wrap modes and mipmaps, streamlining texture management across materials in interactive 3D scenes.

When do I need to use multiple texture maps on a single Three.js material?

Multiple texture maps are needed when a Three.js material requires separate color, normal, and roughness properties. This Skill streamlines managing multiple textures across materials with different color spaces and mappings, preventing verbose and error-prone configuration.