Does anyone know how to create a beam of light? e.g. As you would see when shining a torch in the dark. I have been seraching the net for a while now and can’t seem to find any examples anywhere. Any help would be much appreciated.
The most commonly used technique is to have a poly that is textured with a “flame” texture and then put it at the light location with possible animation. I’m sure you could also do it with procedural textures.
By torch I assume you mean what American’s call a flashlight? Do you want to know how to make the beam itself visible, or how to make the spot of light it projects?
I was wanting to try and make the beam visible. And yes, by torch I do mean flashlight. Any easy ways to do this?
A method Microsoft’s Midtown Madness used (for the car’s headlights) was a cylinder with a fading opacity value, with additive blending… you could do this, then apply a decal texture (additive) of a white spot, scaled by the lights distance from the wall.
either this method or using a flat textured poly for the beam would work.
(btw, i’m unsure about much of this…any corrections would be welcome)
Has anyone any more details, or example code? Thanks MJW.