threejs-lighting
Skill4 starsChanged 3 months agoMITView on GitHub
Light Three.js scenes using environment maps, direct lights, baked light, and tuned shadow maps.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- calesthio/OpenMontagetheir own version, first seen Oct 3, 2026
- codetesla51/skillstheir own version, first seen Sep 25, 2026
- ruloCode/hermes-ostheir own version, first seen Jul 9, 2026
- kumaran-is/claude-code-onboardingtheir own version, first seen May 25, 2026
- huangzida/skillstheir own version, first seen Apr 4, 2026
- patrickcohen/claude-skills-collectiontheir own version, first seen Feb 23, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- calesthio/OpenMontage★ 63ksame name
- CloudAI-X/threejs-skills★ 3.5ksame name
- kumaran-is/claude-code-onboarding★ 36same name
- ruloCode/hermes-os★ 15same name
- huangzida/skills★ 2same name
- codetesla51/skills★ 1same name
- patrickcohen/claude-skills-collection★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- threejs-accessibilitySkill
- threejs-animationSkill
- threejs-assetsSkill
- threejs-audioSkill
- threejs-debuggingSkill
- threejs-deploymentSkill
- threejs-geometrySkill
- threejs-htmlSkill
- threejs-interactionSkill
- threejs-materialsSkill
- threejs-particlesSkill
- threejs-performanceSkill
- threejs-physicsSkill
- threejs-postprocessingSkill
- threejs-product-viewerSkill
- threejs-r3fSkill
- threejs-sceneSkill
- threejs-shadersSkill
- threejs-spatial-dataSkill
- threejs-testingSkill
- threejs-webgpuSkill
- threejs-webSkill
- threejs-xrSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use the project's installed versions and existing architecture.
- Distinctive: line 12
Use environment preprocessing and mapping appropriate to the renderer/version.
- Distinctive: line 18
Verify shadow acne, detached feet, thin surfaces, moving objects at shadow-frustum edges, dark metallic surfaces, and texture seams.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Lighting and Shadows
Use the project's installed versions and existing architecture. These instructions supplement the user's task; they do not authorize unrelated changes or external actions.
Establish the intended mood and material readability before adding lights. For a PBR subject, test an environment plus a controlled key light. Metallic surfaces need reflected surroundings; increasing ambient intensity is not a substitute for meaningful reflection.
Use environment preprocessing and mapping appropriate to the renderer/version. Decide whether background and illumination should share an image. Dispose owned preprocessing resources and replaced environments without releasing shared loader cache entries.
Enable shadows only on lights and objects that need them. Tighten directional/spot shadow coverage before raising map resolution. Inspect the shadow camera with helpers; adjust bias and normal bias in relation to scene scale. Excessive bias detaches contact shadows. Point-light shadows require multiple views and can be expensive.
Choose baked lighting for static scenes when dynamic lights add little value. Keep shadow updates demand-driven for static arrangements where supported. Add contact-shadow approximations only when they remain believable during interaction.
Verify shadow acne, detached feet, thin surfaces, moving objects at shadow-frustum edges, dark metallic surfaces, and texture seams. Compare the scene with and without shadows on a target device before accepting the cost.
API reference
Consult the official documentation for exact signatures and revision-specific behavior. If documentation access is unavailable, inspect installed types/source and state any remaining uncertainty.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

