threejs-impl-lighting
Installation
SKILL.md
threejs-impl-lighting
Quick Reference
Light Types at a Glance
| Light | Shadows | Direction | Cost | Intensity Unit (r160+) |
|---|---|---|---|---|
AmbientLight |
NO | None (uniform) | Negligible | Unitless multiplier |
HemisphereLight |
NO | Vertical gradient | Negligible | Unitless multiplier |
DirectionalLight |
YES | Parallel rays | Moderate | Lux |
PointLight |
YES (6-pass!) | Omnidirectional | High | Candela |
SpotLight |
YES | Cone | High | Candela |
RectAreaLight |
NO | Planar emission | Very high | Nits (cd/m2) |
LightProbe |
NO | Spherical harmonics | Low | Unitless multiplier |
Critical Warnings
NEVER use AmbientLight as the sole light source -- it produces flat, dimensionless rendering. ALWAYS combine it with at least one directional or point light.
Related skills