I'm just wondering if anyone knows if it's possible to get a flash light effect with a THREE.SpotLight.
// Line 110
spotLight = new THREE.SpotLight(0xffffff, 0.5, 150);
spotLight.power = 6000;
spotLight.angle = 0.5;
spotLight.decay = 2;
spotLight.penumbra = 0.1;
spotLight.distance = 200;
I've set up a CodePen (http://codepen.io/anon/pen/ALXNYQ - click render window to engage pointer lock) but I want the flash light to be more realistic. Here's an image with the desired effect:
I've tried looking around at documentation, thinking there would be a "map" of some kind that I could load - like, maybe it would have to be an alpha map or something. I'm still fairly new to the 3D gaming world, so any help would be appreciated.
Thanks.