Hey there! I'm facing an issue with my code. I've been working on a project using three.js which includes a scene, 2 objects, renderer and camera. However, when I added the light, it didn't show up at all! I've tried multiple options but nothing seems to be helping me out. Here's the code snippet - http://codepen.io/usf/pen/LaDwh
var light = new THREE.SpotLight(0xff0000);
light.position.set( 0, 0, 50 );
var pointLight = new THREE.PointLight( 0xffffff);
pointLight.position.set( 0, 0, 50 );
scene.add(light);
scene.add(pointLight);
//rendering
renderer.render(scene, camera);
I'm quite puzzled about what could be causing this problem. Any insights would be greatly appreciated!