I'm new in Unity 3D and making games and I've got a little trouble: I want to make a river with flowing water and I don't know how to do it.
I found some codes on the forum but I didn't know where to put them: Link
I've tried to put the codes of that thread on the end of the object (plane) code but all I've got is a fully painted pink plane...
Answer by EctoNecro
Nov 09, 2012 at 10:46 PM
Not to be mean, but try reading... it tells you RIGHT ON THE THREAD, on how to use it.
"Usage: Make a box, stretch it out... Apply a water material to it... drag the script below to it... Water.... It even transforms the box into a trigger."
Thanks for the response. After making a box, stretching it out and applying a water material on it, I am wrong in the Script step. All I get is a pink water cube after doing all the steps.
Do I do something wrong?
I open the water code with MonoDevelop and in the end of the code I add the thread code, result: Pink block.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
10 People are following this question.
Shader add vertex displacement
How do I alter vertex displacement based on UV coordinates?
Why is my Pro Water Material Grey?
Unity Water Shadows?