domains / families / software-engineering / threejs-materials-lighting

threejs-materials-lighting

separate

Light and shade a three.js scene: choose materials (MeshStandardMaterial PBR vs unlit MeshBasicMaterial), add ambient/hemisphere/directional/point/spot lights, turn on shadow maps, and use an environment map (IBL) for realistic reflections. Use when a three.js model looks black, flat, or wrong — when the user mentions three.js materials, MeshStandardMaterial, lights, shadows, envMap, or PBR. For renderer/loop setup use threejs-scene-setup; for loading models use threejs-gltf-loading.

When to use

When not to use

Skill page

Source

RepositoryPath
gamedev-skills/awesome-gamedev-agent-skillsskills/web-engines/threejs-materials-lighting/SKILL.md