What problem does it solve?
This Skill helps in setting up and optimizing lighting in Three.js scenes, addressing challenges like shadows, environment lighting, and performance issues.
Core Features & Use Cases
- Lighting Setup: Offers guidance on adding various light types (ambient, directional, point, spot, rect area) to a scene.
- Shadows Configuration: Explains how to enable and optimize shadows for different light types.
- Environment Lighting: Demonstrates how to implement image-based lighting with HDR environment maps.
- Light Probes: Describes advanced techniques for capturing lighting from a point in space.
- Common Lighting Setups: Provides templates for common lighting scenarios like three-point lighting and studio setups.
- Performance Tips: Offers suggestions to enhance performance, such as limiting light count and optimizing shadow maps.
Quick Start
Use the threejs-lighting skill to add an ambient light and a directional light to your scene and enable shadows for the directional light.