Jump to content
  • Advertisement
Sign in to follow this  
hengh2009

a question about how to animate a lightning

This topic is 3099 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I simulated a lightning today,but i have no idea about how to animate it,i just set the lightning's color white and backgroud color black,but you know it is not like real,because the real lightning will light the sky near it,so the background near lightning will be lighter and far from it will be darker.i have no idea about how to implement it, can anyone help me.Thank you very much.

Share this post


Link to post
Share on other sites
Advertisement
I made some exaggerated "glowing" lighting a while back with a traditional bloom filter.

My demo (GLSL shaders in plain text):
http://www.gamedev.net/community/forums/topic.asp?topic_id=532184

The original bloom article:
http://www.gamasutra.com/features/20040526/james_01.shtml

Share this post


Link to post
Share on other sites
He just did. What he was advising, I assume, is that you simply blit the bright image/mesh for a moment, and create a bloom filter that makes the light highly blured, making it more realistic as in a real situation, your eye will not be able to handle that amount of light. If you are speaking about the lighting propagating out, that is somewhat differnet, please be more specific.

Share this post


Link to post
Share on other sites
i have simulate a lightning like this:
http://tu.6.cn/pic/show-new/id/5556627/
i hope it can be like this:
http://tu.6.cn/pic/show-new/id/5556628/

how can i do?
Thanks

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!