threejs-textures

Load and configure Three.js textures for realistic WebGL materials.

1|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/sbalagan22/bloomr --skill threejs-textures-sbalagan22
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threejs-textures
Source: https://github.com/sbalagan22/bloomr/tree/main/.claude/skills/threejs-textures
Command: npx skills add https://github.com/sbalagan22/bloomr --skill threejs-textures-sbalagan22

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Three.js textures can be confusing to load, configure, and optimize for web rendering; this Skill provides a focused guide to getting textures working correctly across common maps and environments.

Core Features & Use Cases

  • Loading and applying color textures to materials (e.g., MeshStandardMaterial) and configuring maps (normal, roughness, metalness, AO, emissive).
  • Managing UVs, including a second UV channel for AO and atlas textures, and supporting environment maps and HDR reflections.
  • Performance and memory best practices, including mipmaps, texture sizing, and atlas packing for efficient rendering.
  • Use Case: Build a realistic wall material by stacking color, normal, roughness, and ambient occlusion maps, with an HDR environment map for reflections.

Quick Start

Create a simple MeshStandardMaterial with a loaded color texture and normal map, then apply it to a mesh.

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 configure Three.js textures for realistic materials?

To load and configure Three.js textures, apply color, normal, roughness, and ambient occlusion maps to materials like MeshStandardMaterial. You must properly configure wrapping modes, color space, and mipmaps to ensure the WebGL material renders realistically.

What is UV mapping and how does it work with atlas textures in WebGL?

UV mapping assigns texture coordinates to mesh geometry, and this Skill covers managing a second UV channel specifically for ambient occlusion and atlas textures. This allows packing multiple textures into a single image for efficient WebGL rendering.

How do I apply an environment map for HDR reflections in Three.js?

You apply an environment map in Three.js by loading HDR textures and configuring them to provide realistic reflections on metallic and rough surfaces. This Skill guides configuring these maps across MeshStandardMaterial for accurate WebGL lighting.

What are the best practices for Three.js texture memory management?

Best practices for Three.js texture memory management include configuring mipmaps, optimizing texture sizing, and packing atlas textures. These techniques reduce memory overhead and improve rendering performance for WebGL projects.

Does this Skill support procedural textures and custom shaders for Three.js?

Yes, the Skill covers procedural textures alongside standard color and environment maps. It supports configuring complex material properties for WebGL, integrating texture loading with shader logic for dynamic rendering effects.