Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] + [ImageKit] Fullscreen impact shockwave effect

Author
Message
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 10th Dec 2010 23:45 Edited at: 10th Dec 2010 23:48
Hi everyone,

I thought I'd share this piece of code. The program simulates a strong impact that makes the screen shake and makes a shockwave propagate across the screen.
The image doesn't do it justice since it's a dynamic effect.


Click on the screen to activate shockwave.

Attached is the project and media (including the shader).



Cheers!
Sven B

Attachments

Login to view attachments
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 10th Dec 2010 23:47
Screenshot!

Attachments

Login to view attachments
Todd Riggins
19
Years of Service
User Offline
Joined: 29th Oct 2004
Location: Texas, USA
Posted: 11th Dec 2010 03:34
Pretty Cool!

ExoDev.Com - A Game Development Community Website! Featuring: XBOX360 CONTROLLER LIBRARY
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 11th Dec 2010 21:54
Nice effect!

Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 11th Dec 2010 23:34
Thanks guys

I'm trying to think of some more pixel shaders that I can distribute along with ImageKit. There are some differences between DBP effect files and effect files that can be loaded by ImageKit (DBP uses vertex shaders and some semantics that ImageKit doesn't recognize), so I'm creating them to help people that want to write their own shader for ImageKit.

Sven B

Login to post a reply

Server time is: 2024-04-25 11:40:38
Your offset time is: 2024-04-25 11:40:38