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 / Any help with 2d water shader effect

Author
Message
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 7th Oct 2015 20:43 Edited at: 7th Oct 2015 20:52
I need to animate isometric(for one sprite) water-plain (similar to photoshop ripple effect), so I found one-similar shader, but I can't make it work, and I don't need light in this.


Link to this topic: https://forum.thegamecreators.com/thread/201508?page=3

Example:
http://i.stack.imgur.com/0ane7.jpg
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 7th Oct 2015 21:31
I found it:
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 7th Oct 2015 22:50
The problem of this shader is - it doesn't work properly with Alpha channel.
Help if you able to, please.
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 9th Oct 2015 11:58
Have you considered doing it with an animated sprite instead of a shader?
There are many animates caustic sprites to be found in the web or there are caustic generators available like this one: Caustic Generator. Which is free for non-commercial or 35 Euros for commercial.

It isn't a shader but it as with all things in games - if you can fake it and it still looks good then a fake is good enough


AGK V2 user - Tier 1 (mostly)
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 9th Oct 2015 16:01
Scraggle, no, I need the shader! Water shader which is suitable for the sprites with Alpha-channel! I sew this in AGK2 video, but where can I get it? This: https://www.youtube.com/watch?v=wYKmDdVzc8c
lilpissywilly
AGK Developer
14
Years of Service
User Offline
Joined: 10th Sep 2010
Location: Office Chair
Posted: 10th Oct 2015 13:50
Here's one I just threw together. I don't know if this is the kind of water effect you are looking for but, anyway, project is attached
My hovercraft is full of eels

Attachments

Login to view attachments
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 10th Oct 2015 22:42 Edited at: 10th Oct 2015 22:53
THANK YOU SO MUCH Lilpissywilly!!! It works!
This ripple effect - exactly what I need now, cause water shader works fine (I posted it above) and doesn't need alpha channel! But for the kind of foam I was need this shader! Thanks!!!

P.S. I wish I have kind of rating at this forum...
lilpissywilly
AGK Developer
14
Years of Service
User Offline
Joined: 10th Sep 2010
Location: Office Chair
Posted: 11th Oct 2015 16:41
No problem, hope it works out!

My hovercraft is full of eels

Login to post a reply

Server time is: 2024-09-29 05:27:30
Your offset time is: 2024-09-29 05:27:30