threejs-textures

Configure Three.js texture loading, color spaces, and UV transforms.

Updated May 6, 2026
One-click install
npx skills add https://github.com/Uniquecrete/ThinkFasterv1 --skill threejs-textures-uniquecrete
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threejs-textures
Source: https://github.com/Uniquecrete/ThinkFasterv1/tree/main/Skills/threejs-textures
Command: npx skills add https://github.com/Uniquecrete/ThinkFasterv1 --skill threejs-textures-uniquecrete

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the guesswork of setting up correct textures in Three.js so your models render with accurate colors, shading detail, and environment reflections.

Core Features & Use Cases

  • Texture loading workflows: Load images reliably (callbacks or Promises) and manage render targets used as textures.
  • Correct texture configuration: Set sRGB vs data color spaces, wrapping/repeat/offset/rotation, mipmaps, filtering, and anisotropy for quality and performance.
  • Environment mapping & UV handling: Work with cube textures, HDR/equirectangular environments (via PMREM), UV access/UV2 for AO, and texture atlases.

Quick Start

Use the threejs-textures skill to load an image texture, configure it for the right color space, and apply it to a MeshStandardMaterial.

Frequently Asked Questions about threejs-textures

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

FAQPage Schema
How do I apply PBR materials and configure textures in Three.js?

To configure Three.js textures for PBR materials, you load color, normal, roughness, metalness, and AO maps, then set their colorSpace, wrapping modes, and mipmaps to achieve accurate rendering.

Why do my Three.js textures render with incorrect colors?

Incorrect Three.js texture colors occur when colorSpace is not set properly. You must apply the correct sRGB or data color space settings to your color and environment maps for accurate shading.

How do I use HDR environment maps for reflections in Three.js?

Use HDR environment maps in Three.js by processing equirectangular HDR files or cube textures through PMREM to generate accurate environment reflections on your materials.

What's the best way to optimize Three.js texture performance and prevent GPU memory leaks?

Optimize Three.js texture performance by configuring mipmaps, filtering, and renderer-dependent anisotropy, and prevent GPU memory leaks through explicit texture disposal when materials are unused.

How do I set UV mapping and create texture atlases in Three.js?

Set UV mapping in Three.js by accessing UV and UV2 coordinates for AO maps, and create texture atlases to combine multiple images into a single efficient map for rendering.

Do I need to configure wrapping and anisotropy for Three.js textures?

Yes, you need to configure wrapping, repeat, offset, rotation, and renderer-dependent anisotropy on Three.js textures to balance visual quality and efficient rendering performance.