R3F Lighting
R3F Lighting allows you to control and manipulate Unity's real-time lighting system using R3F shaders for dynamic visual effects.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add r3f-lighting npx -- -y @trustedskills/r3f-lighting
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"r3f-lighting": {
"command": "npx",
"args": [
"-y",
"@trustedskills/r3f-lighting"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The r3f-lighting skill provides realistic lighting effects within a Three.js environment. It allows agents to control and manipulate light sources, including ambient light, directional lights, point lights, spot lights, and hemisphere lights. This enables the creation of visually appealing and immersive 3D scenes for various applications.
When to use it
- Creating realistic product visualizations: Showcase products with accurate lighting and shadows to enhance their appeal.
- Developing interactive games or experiences: Implement dynamic lighting effects that respond to user interaction or game events.
- Building virtual environments for training simulations: Provide a visually convincing environment for trainees to practice in.
- Generating architectural renderings: Produce photorealistic images of buildings and interiors with appropriate lighting conditions.
Key capabilities
- Ambient Light control
- Directional Light manipulation
- Point Light management
- Spot Light adjustment
- Hemisphere Light configuration
Example prompts
- "Add a point light to the scene, positioned at (10, 5, -2) with an intensity of 1.5."
- "Set the ambient light color to a soft blue and reduce its intensity by half."
- “Create a directional light shining from the direction [0, -1, 0]”
Tips & gotchas
The skill requires a Three.js environment to function correctly. Ensure that Three.js is properly initialized before using r3f-lighting commands.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.