Flickering Torch
Noise-based point light flicker simulating a handheld torch.
JavaScript (plain)
const torch = new THREE.PointLight(0xffaa55, 2, 10, 2)
torch.position.set(0, 1.5, 0)
scene.add(torch)
// animate intensity randomly for flicker
Noise-based point light flicker simulating a handheld torch.
const torch = new THREE.PointLight(0xffaa55, 2, 10, 2)
torch.position.set(0, 1.5, 0)
scene.add(torch)
// animate intensity randomly for flicker