Skip to content

Instantly share code, notes, and snippets.

@nklsrh
Created July 10, 2013 03:06
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 nklsrh/5963181 to your computer and use it in GitHub Desktop.
Save nklsrh/5963181 to your computer and use it in GitHub Desktop.
// // create a point light
pointLight = new THREE.PointLight(0xF8D898);
// set its position
pointLight.position.x = -1000;
pointLight.position.y = 0;
pointLight.position.z = 1000;
pointLight.intensity = 2.9;
pointLight.distance = 10000;
// add to the scene
scene.add(pointLight);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment