Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a shader or sample that does an electricity or lines-of-force effect between two points that can be used with XNA 3.1.

share|improve this question
You might be interested in this question, which provides an interesting method for producing lightning. – Grace Note Mar 21 '11 at 12:29
up vote 1 down vote accepted

Download RenderMonkey has samples for image based effects including spark and electricity.

share|improve this answer
I downloaded RenderMonkey. Really nice and lots of cool effects but no spark and no electricity sample. – Shachar Weis Mar 21 '11 at 15:09
I think you can find it in an example called "image space effects" .. its not the default shader by so you need to browse different shaders in the example. – concept3d Mar 22 '11 at 7:33
Got it, thanks. That is just what I'm looking for. – Shachar Weis Mar 22 '11 at 20:19

I'm not sure if this fits to your picture of "electricity effect":
video and article about it

share|improve this answer
Your video link is broken. – Stefan Monov Mar 21 '11 at 20:06
Thanks, corrected. – Notabene Mar 21 '11 at 20:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.