I am encountering an issue with the line of code
scene.add(new THREE.PointLightHelper(bluePoint, 3));
in my code snippet below:
var bluePoint = new THREE.PointLight(0x0033ff, 100, 500);
bluePoint.position.set( 500, -500, 25 );
scene.addLight(bluePoint);
scene.add(new THREE.PointLightHelper(bluePoint, 3));
Even though I have included the libraries: Projector.js
, CanvasRenderer.js
, stats.min.js
, and three.min.js
The code works fine if I remove the line:
scene.add(new THREE.PointLightHelper(bluePoint, 3));
Why is this happening? Is there an alternative method to increase the size of PointLight in three.js without using THREE.PointLightHelper
?