Software Development

Threejs Materials Lighting

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.

Publisher / source
gamedev-skills/awesome-gamedev-agent-skills (found on skills.sh)
Upstream record
gamedev-skills/awesome-gamedev-agent-skills
Version
Version 2
Published
Publication review
Approved for publication
Content fingerprint
51451f53c44b9bb3ee87b8f12fcc0d8c8f5b44d9426686cec4090636d7580784