Wave Creator - Real Waves in Unity!

Hey

Wave Creator is a water shader which features real wave displacement and effects such as wave foam, shoreline non-repeating foam, edge fade, specularity and reflection. It also contains a Float Script so objects can float on the waves and a Submerged Effect script which produces camera effects when the camera is underwater. Here is a screenshot of Wave Creator in action:

It costs $20, check it out on the store:

Wave Creator on the Asset Store

Here are some key features:

  • Creates physical waves by modifying the vertices of a mesh.
  • The user can adjust the height, frequency, speed of the waves and where the water is flowing from or to.
  • 2 reduced shader included to run on mobile (see video)
  • Shoreline Edge Fade effect
  • Shoreline and Wave Foam aperiodically tiled
  • Advanced Shader reflection and Refraction
  • A ā€˜Float’ script is included which allows objects to float on top of the waves
  • A ā€˜Submerged Effect’ script is included which changes the scene settings when the camera is underwater.

Works on Unity Free or Pro

To view a Webplayer displaying most of the key features above, click the link below:

Wave Creator Webplayer

Here is a video where I explain how to set Wave Creator up and all it’s features!

I have also created a video showing Wave Creators performance on iOS devices:

If you have any questions or feedback about this asset don’t hesitate to contact me or comment on this thread.

I hope you will enjoy Wave Creator. Thanks

1 Like

very cool!

Thanks snowboardkid, any comment is vastly appreciated.

Is it tested on mobile?

Unfortunately it is not tested on mobile as of yet. I will try to do so as soon as I can.

Looks fantastic! Curious to hear about mobile.

Wonderful and very complete !!!
6R

I just bought it and it’s really good work thank you

I’ve been looking at water and ocean solutions for a long time, from simple animated texture effects to full blown ocean simulators. The community ocean shader does most of what I want, but it doesn’t play nice with other assets. Water 4 is OK, but doesn’t include sub-surface effects or floatation. Both are pretty much undocumented, and quite complicated to set up correctly. I like what I see here so far, though, and your demo was pretty easy to follow. Can you use it with more advanced surface effects than daylight and nighttime water? It would be cool to use your wave physics, floatation, and underwater transitions, with a surface that looked like water 4 or water+, to allow shoreline foam and blending for instance. Is there any way to mix and match between this and a good flat water surface shader? If so, you’ve made a sale.

Thank you for all your comments, all are appreciated.

Thanks. I’ll test on mobile as soon as possible

Wow. Thanks

Thank you so much for buying, I’m glad you’re pleased with it.

You can use any Material or Shader with Wave Creator. So yes, you can use more advanced surface shader effects with it. A quick note however, the underwater effect with wave creator looks good because you can see the water surface material from both above and below the surface. To create this effect the water shader needs to have Cull turned off. This will only require you to specify this in a line of code if the shader does not have cull turned off.

If you have any more questions don’t hesitate to ask! Thanks

What stops people from unpacking your webplayer and decompiling the script?

I don’t believe this is even possible and if it were I would hope nobody would do it because the only reason I (or anyone else) would post a webplayer is to give users a chance to view my work and make sure it is right for them before they buy. I am therefore trying to help customers. Either way you could not obtain the editor scripts from the webplayer so you wouldn’t be able to create the correct wave mesh anyway.

Thanks for all the good comments guys as well as the 100 views on the YouTube video all in the first day.

Just a quick note of what’s in the pipeline.

  • A more advanced float script where the object doesn’t simply stay on top of the waves but has buoyancy so can be fully submerged under the wave and bob up to the surface etc…This could work with Rigidbodies.
  • A more efficient algorithm for finding the height of the waves.

Thanks. All comments are thoroughly appreciated.

I’d love to see what your waves would look like with a really nice ocean shader, with transparency and refraction. A shader like this:

I’ve always wanted to make a desert island ā€œsurvivalā€ game, and a great looking ocean, with REAL waves, would be an important part.

Yeah sure. I’ll post up a demo of Wave Creator using Dekos’ Animated Water later on today. As well as that, what other shaders / materials / textures would you guys like to see a demo of with my waves. Water+, Easy Water etc…

Would be nice too see, how it looks with water+, since im using it in my project =)

Hey

Here a demo of Wave Creator using Deko’s Animated Water.

Wave Creator with Deko’s Animated Water

In the near further I may try to in-cooperate an animated texture material in with Wave Creator with some nice reflection and refraction.

All comments are thoroughly appreciated. Thanks

I’ve been looking for a suitable surface shader to use with this, and have a few ideas. The sample posted above by snowboardkid looks like Suimono water, which costs $65, and already has a nice displacement, floatation, and underwater effect system. It would be pointless to try to adapt it to Wave Creator.

Water+ (the full version, not the shader) is cheaper, and doesn’t already have any of these features, but after checking it out a bit more, I see a possible snag: it requires ā€œbakingā€ the ocean surface during setup, which creates the shoreline effects around a specified terrain object. If the surface it’s placed on moves up and down this could break the illusion a bit, as the shoreline should be advancing and receding with the waves, but won’t be. Still, it might be worth trying, to see how significant this would be to the overall effect.

Your demo using Deko’s water seems fine, but it’s a bit hard to tell with the dark lighting used. I don’t think it includes shoreline foam effects though, so would probably work best for open water only.

Tasharen water looks like a possibility, but will drive the final price up a bit.

Maybe a hacked Water4 surface, minus the problematic gerstner displacement script would work, but only for pro users. Any other ideas?

I don’t have Unity Pro, but doesn’t it come with a nice water shader with refraction? Wave Creator is the only water system i’ve seen that does the big rolling waves i’d want. I might just have to do the free Pro trial and get some fancy water effects going!

Yes. Water Pro and Water4 are included in the pro version. They are both just surface shaders though, the difference being that Water4 has built in (though difficult to configure) displacement, as well as sun highlights, and shoreline foam effects, while the standard pro water is just a pretty flat surface, with reflection, refraction, and animated waves. Neither includes floatation or underwater effects without some additions though.