Created
July 10, 2013 03:06
-
-
Save nklsrh/5963181 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// // 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