Skip to content

Instantly share code, notes, and snippets.

@patkap1994
Created May 19, 2022 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patkap1994/0711724eb7cc82c4ebb2186ef8398ff6 to your computer and use it in GitHub Desktop.
Save patkap1994/0711724eb7cc82c4ebb2186ef8398ff6 to your computer and use it in GitHub Desktop.
const ambient = new THREE.AmbientLight(0x404040, 5)
const point = new THREE.PointLight(0xE4FF00, 1, 10)
point.position.set(3, 3, 2)
scene.add(ambient)
scene.add(point)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment