Three.js: add light to camera
问题 I want to move and rotate the camera but keep a PointLight on the same position relative to the camera. I've read a bunch of threads saying that you can add the light object to the camera instead of the scene. Like so: pointLight = new THREE.PointLight( 0xffffff ); pointLight.position.set(1,1,2); camera.add(pointLight); However this does not seem to work for me. Instead I now when the camera changes set the light's position by applying the cameras matrixWorld to my desired relative light