Help with Lightning Theory

BlitzMax Forums/BlitzMax Beginners Area/Help with Lightning Theory

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi all,

Does anyone here know how to create realistisc lightning effects ?

I would assume you would have a variance term like -5 to 5 on the x axis, and shoot random length lines (y) downwards using random numbers between -5 and 5 for x coords ?

This is assuming the lightning is shooting downwards.