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.

AppGameKit Classic Chat / Shockwave Shader : Can someone help please ?

Author
Message
Abhishek
11
Years of Service
User Offline
Joined: 17th Aug 2013
Location:
Posted: 10th Jan 2015 17:36
Can someone work out this shader. Can't get it to work
What am I doing wrong ?. I am noob to shaders.

Main:


Vertex.vs


Pixel.ps
janbo
16
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 11th Jan 2015 02:52 Edited at: 16th Aug 2017 17:29
Hi,

It took me awhile till I had it working.
Im sure he found the shader at: http://www.geeks3d.com/20091116/shader-library-2d-shockwave-post-processing-filter-glsl/

Now to the code:

Main.agc


Vertex.vs


Pixel.ps


Picture


</div>

Using AGKv2 Tier1

Attachments

Login to view attachments
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 12th Jan 2015 02:37
That is a SWEET effect! Thank you both for sharing

I changed:


to:


just to speed it up a bit.

Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 12th Jan 2015 08:32
There was a shockwave/ripple shader someone made for DBP.


"I like offending people, because I think people who get offended should be offended." - Linus Torvalds
unlikely
12
Years of Service
User Offline
Joined: 5th Mar 2012
Location: Ohio, USA
Posted: 12th Jan 2015 15:50 Edited at: 12th Jan 2015 16:12
We should have a thread for collected links to interesting shaders posted on the forums. Nice one guys.

Now I'm off to try applying this to a fullscreen post-processing shader.
Ched80
14
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 12th Jan 2015 21:21
I made a showwave shader for the AppGameKit compo (attached) it needs fixing, but it should give you a start.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-25 15:21:26
Your offset time is: 2024-11-25 15:21:26