AI AGENT ADDONS

Threejs Lighting

cloudai-x/threejs-skills

Three.js lighting helps you add light to 3D scenes. You can use different light types like directional light for the sun or point light for a bulb. Shadows make the scene look more real. Environment lighting adds natural colors from the sky and ground. This skill covers all common light types and how to set them up. It also explains how to configure shadows and optimize performance. Anyone building 3D web experiences will find it useful.

Each light type has a specific purpose. Ambient light gives even brightness all around. Hemisphere light blends sky and ground colors. Directional, point, and spot lights create shadows. RectArea light works like a window or panel. The skill shows you the code for each one and tells you the performance cost. You will learn to adjust shadow map size, camera bounds, and bias to fix common issues.

With this skill you can build scenes that look professional. You will know when to use which light and how to balance quality and speed. The examples are simple and ready to use in your own projects.

Add Threejs Lighting skill to your workflow

Global

mkdir -p ~/.claude/skills/threejs-lighting

Project

mkdir -p .claude/skills/threejs-lighting

Source Repository

Stars
2,483
Forks
286
Watchers
2,483
Last Push
6 months ago
Created
6 months ago