Lighting brings 3D scenes to life in React Three Fiber. You can add different light types like directional for sun or point for bulbs. Shadows make objects feel solid and real.
Setting up lights is easy with simple props. You control color, intensity, and position. The Environment component adds reflections and ambient light from real-world images. This helps your scene look polished without extra work.
Anyone building 3D websites or apps can use this skill. It works with React and Three.js. The code example shows a basic scene with a light, a box, and a floor. You can copy and tweak it for your own projects.
Global
mkdir -p ~/.claude/skills/r3f-lightingProject
mkdir -p .claude/skills/r3f-lightingFrontend Designanthropics/skills
Create striking frontend interfaces with bold design and polished code every time
Vercel React Best Practicesvercel-labs/agent-skills
Optimize React and Next.js apps using proven Vercel performance guidelines
Vercel Composition Patternsvercel-labs/agent-skills
Clean React components with composition instead of boolean props
Shadcnshadcn/ui
Manage shadcn UI components easily with CLI commands and clear styling rules
Design Taste Frontendleonxlnx/taste-skill
Enforce premium frontend design with metric-based rules and smart component architecture
Impeccablepbakaus/impeccable
Polish your frontend interfaces with expert design critique and code
Minimalist Uileonxlnx/taste-skill
Build warm minimal web interfaces with editorial typography and flat bento grids
Industrial Brutalist Uileonxlnx/taste-skill
Raw mechanical UIs fusing Swiss print with military terminal aesthetics and high data density