Lightning bolt effect

Hy room, i want to create a lightning bolt effect without having to use shader, i was thinking about using dynamic geometry, any idea?

1 Like

It depends on how it should visually appear, for a basic background effect you could model few bolts and export them in different shapes, like 3 sets of bolts. Then switch to one after another (set visible) like a frame by frame animation. With a smooth flashing background. Simple but should appear authentic

1 Like

A more advanced approach is described here: http://developer.download.nvidia.com/SDK/10/direct3d/Source/Lightning/doc/lightning_doc.pdf

The dynamic creation of the geometry is done with a so called L-system. The details sound complicated at first, but the pseudo code is actually easy to understand, see http://drilian.com/2009/02/25/lightning-bolts/

3 Likes

Thanks for the replies, i think i’vegot an idea