📖 INDEX
LOADING ENGINE...
AmbientLight
THREE.JS REFERENCE // ambientlight
Globally illuminates all objects in the scene equally.
Syntax
const light = new THREE.AmbientLight(0x404040);Examples
Example 01Basic Usage
const light = new THREE.AmbientLight(0x404040);Best Practices
- Consult the official Three.js documentation for deeper understanding.
- Be mindful of performance when creating many objects or geometries.