Threejs Materials Lighting
Physically based materials, lights, shadows, and HDR environment lighting for three.js r187 scenes.
- CCM score
- 57 of 100
- skills.sh installs
- 14.9K
- GitHub stars
- 12.1K
- last updated
- Nov 29, 2026
Own this skill? Claim it
What it does
- Covers standard, physical, and unlit materials, lights, shadow setup, IBL from HDR files, and tone mapping
- Includes patterns for PBR texture sets, fitted shadow cameras, and a Playwright-ready lighting state probe
- Enforces sRGB tagging for colour maps and linear data maps, and ends post-processing chains with
OutputPass - Designed for scenes that render black, washed out, or missing shadows, and points renderer, loading, and shader work to other skills
Install
$ npx -y skills add gamedev-skills/awesome-gamedev-agent-skills --skill threejs-materials-lighting -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
three.js materials and lighting
Makes three.js surfaces read correctly: the right material, a light rig, working shadows and image-based lighting (IBL). Patterns target r187. Lighting has been physically based since r155, so intensities from older tutorials look far too dark.
When to use
- A mesh renders black or flat, a material choice is needed, lights or shadows are being added, or environment reflections (IBL) are being set up.
- Code constructs
MeshStandardMaterial,DirectionalLightand similar, or setsrenderer.shadowMap.enabled,scene.environmentorrenderer.toneMapping. - Not for the renderer, camera and loop (
threejs-scene-setup), loading models (threejs-gltf-loading), or custom GLSL and node shaders (shader-programmingfor the technique).
Workflow
Details
- Repository
- github.com/gamedev-skills/awesome-gamedev-agent-skills
- Categories
- 3D, CAD & Modeling, Frontend & UI Code
- First seen
- Nov 29, 2026
More from gamedev-skills/awesome-gamedev-agent-skills
All 69- Unity Build Pipeline14.9K
- Phaser Arcade Physics14.8K
- Unity Navmesh14.7K
- Unity Tilemap 2d14.6K
- Pixijs Rendering14.5K
- Unreal Blueprints14.2K
- Unreal Cpp Gameplay14.2K
- Unreal Enhanced Input14.1K
- Unreal Niagara14.1K
- Unreal Packaging14.1K
- Unreal Behavior Trees14.1K
- Roblox Ui14K
- Bevy Ecs14K
- Pygame Core13.9K
- Love2d Core13.8K
- Game Feel22.7K
- Game Ui Ux22.6K
- Level Design18.9K
- Audio Design18.4K
- Create Game Assets18.2K
- Game Ai18.2K
- Camera Systems18.1K
- Save Systems18.1K
- Input Systems17.6K
Similar to Threejs Materials Lighting
More 3D, CAD & Modelingsendcutsendearthtojake/text-to-cad11.4K installsReview DXF and STEP/STP uploads for SendCutSend.com orders using its ordering guide, catalog, and specs. Use only for SendCutSend.com preflight reports covering
blender-motion-state-inspectionaffaan-m/ecc9.3K installsUse this skill when inspecting Blender characters, rigs, poses, animation retargeting, ground contact, facing direction, or model-vs-motion alignment where scre
cad-viewerearthtojake/text-to-cad9K installsStart or reuse CAD Viewer and return review links for explicit CAD, implicit CAD, robot-description, and G-code files. Use when visually reviewing `.step`, `.st
implicit-cadearthtojake/text-to-cad5.5K installsCreate, edit, render, and snapshot browser-native implicit CAD `.implicit.js` and `.implicit.mjs` files using GLSL signed-distance fields, shader primitives, sm
threejs-webglfreshtechbro/claudedesignskills5.5K installsComprehensive skill for Three.js 3D web development. Use this skill when building interactive 3D scenes, WebGL/WebGPU applications, product configurators, 3D vi
3d-web-experiencesickn33/agentic-awesome-skills5.4K installs3d web experience