threejs-materials

Installation
SKILL.md

Three.js Materials

Iron Law

Always set needsUpdate = true after changing material maps or transparency at runtime — Three.js caches the compiled shader program and will not recompile without it.

Quick Start

import * as THREE from "three";

// PBR material (recommended for realistic rendering)
const material = new THREE.MeshStandardMaterial({
  color: 0x00ff00,
  roughness: 0.5,
  metalness: 0.5,
});
Installs
3
GitHub Stars
34
First Seen
May 21, 2026
threejs-materials — kumaran-is/claude-code-onboarding