Three.js/19 April 2026
Lights aur Shadows
Three.js me lighting aur shadows ka basic concept
Intermediate
6 min read
Lights aur Shadows
3D scene realistic tab lagta hai jab lighting sahi ho.
Types of Lights
- Ambient Light
- Directional Light
- Point Light
Example:
const light = new THREE.DirectionalLight(0xffffff, 1)
scene.add(light)