Friday, 20 April 2012

How Awesomenauts' water effect was made

I had a lot of fun writing the water shader for Awesomenauts, especially since it allowed me to use all kinds of small and subtle tricks to get exactly the right effect. Using shaders creatively to get precisely the right look is one of the things I enjoy most, but it is not a very common pleasure when developing 2D games. So I sneaked in this water effect during a weekend just because I really wanted to make it. Before I implemented this water, our artists weren't really convinced by the necessity of creating it at that point, but once they saw it, they were really happy with the look. :)



There is nothing ground-breaking here, but I am quite happy with the specific combination of little tricks I used to get the best water effect for Awesomenauts, so here is a little graphical overview of how I made it!








(Raytracing like this in a shader is actually very similar to what I did during the research for my Master's thesis at Utrecht University. My Interior Mapping and volume rendering shaders use the same kind of concept in 3D.)






(Here's a link to my earlier blogpost about depth of field blur.











You can see the water in action for yourself when Awesomenauts launches on May 2nd for XBLA and PSN! Creating Awesomenauts took a long time and it has been a really big game for us to develop, but we are really happy with how the game turned out, so I can't wait to finally see whether people will actually like and play it massively!

2 comments:

  1. I really love it, a really thorough and in depth review including a few stages I wouldn't have realized were necessary until you detailed them.

    I think my favorite bit is that you did this at the weekend, on your own time. Not only did you tactfully and quietly push it to the point where your team mates could share your vision, but you also did it because you love your product. This is really awesome, particularly at this end stage development, where nobody could blame you for just wanting to get it finished and out of the door. I think that pride and passion for your own game is what makes the independent developer and this will be a huge driving factor for the success of awesomenauts. I am hopeful for a successful release :)

    ReplyDelete