three.js
12 Light

Scene

  • SpehreGeometry
  • MeshStandardMaterial

Lumiere

AmbientLight

const ambientLight = new THREE.AmbientLight('#ffffff', 0.5)
scene.add(ambientLight)

DirectionalLight

const directionalLight = new THREE.DirectionalLight('#ffffff', 1.5)
directionalLight.position.set(3, 2, -8)
scene.add(directionalLight)