A point light in Three.js revision 70

Simple example of creating a point light in Three.js rev. 70.
var pointlight = new THREE.PointLight( 0x4aa592, 1, 900 ); 
	         	 pointlight.position.set( 0, -100, -100 ); 
	             scene.add( pointlight );

Responses

0 Replies