Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 397 Bytes

REF_LIGHTS.md

File metadata and controls

30 lines (21 loc) · 397 Bytes

Lights

Markers and Simulate Options.

Point Light

light = new THREEFLOW.PointLight
  color: 0xff0000
  power: 300
  simulate: true

scene.add light

Area Light

# custom geometry
lightGeometry = new THREE.PlaneGeometry 300,300,2,2

light = new THREEFLOW.AreaLight
  color: 0xff0000
  radiance: 20
  simulate: false
  geometry: lightGeometry

scene.add light