Hi People,
I have just started working with unity for a project and am trying to create a displaced water shader. I have my cartoony water set up with a animated texture but cannot work out how to make this displace. I am hoping to achieve a look along these lines and any help would be much appreciated http://www.youtube.com/watch?v=rsemPXqtSqI
Cheers,
Leon
There are millions of examples of such vertex animated water shaders all around the internet.
Base idea is; you move the vertices of the water plane mesh with a sin function.
So do I need to find a script in order to create vertex displacement off either a texture or sin function. I am a total beginner with unity and have just been getting to grips with the engine and particles. My experience is more with modeling, textures rigging etc so forgive me for not being 100 percent with what you suggested Aubergine.
Cheers,
Leon
Check out the “Sinus Curve Modifier” in the Procedural Examples package for an example of how to modify a mesh with sine waves, or the Community Ocean Shader project (link is in my sig).
Hi Big Kahuna, just curious is the Community Ocean Project still developed? Been a while since i check heard about it.
The project’s not dead but it hasn’t had any updates in a while (at least none that I’m aware of). It’s a community project and the source is available to anyone who might want to pick it up and take it for a spin.
I see, thanks for the info.
Hi Bigkahuna, none of the procedural examples seem to be working 
Not too surprised, IIRC they were created back in the early days of Unity 2.x and the API has changed considerably since then. Be forewarned that the Ocean Shader last worked with Unity 3.4.2 so you might run into issues with that also if you try to update it to 3.5.6. I haven’t looked at the “sinus” script in a long while but I’m guessing it wouldn’t take too much effort to get it running in 3.5. As for the Ocean Shader, trying to update it to 3.5.6 is on my “to-do” list…