I’m using the standard asset for water, but I want a more realistic water, I search a lot on google and it seems I need unity pro to use refractions/reflections :(, but maybe someone knows how to improve a “little” (not too pro) the water on indie?
Here’s a nice trick I discovered while watching some video on YouTube. All you need to do is:
Create a plane and scale it
depending on how much space your
water needs to cover.
Open the Standard Assets folder and open the
Particles folder then open the
Sources folder and open the Textures
folder. You’ll find several textures
inside, choose snowflake or
Dustpoof.
Drag the selected texture
onto the plane you created earlier
and go to the Inspector and change
the material, select Transparent,
then Parallax Specular.
Select the Water(Basic) folder and
open Sources and then Textures drag
the normal map into the normal map
and height map boxes.
Make a new script and use this code
`public var speed = 0.07;
var my_water : Transform;
function Update () {
gameObject.transform.Rotate(0,speed,0);
}`
6. Attach this code to the plane you created, the my_water variable is for letting the plane you created rotate.
You can just add your water(simple) to your scene. Then import water(pro) package. Drag and drop the water4 material on your simple water. open the daylight water(simple) material and go into the shader. open up the water4 material and go into its shader as well. copy from FX-water(simple) the properties lines that start with _WaveScale and the other starts with WaveSpeed and paste them to the properties of FX-water4. then enjoy your transparent water. YAY
I am using Water for pro only in the free version of Unity 4.5. which is really nice looking water! I don’t know if this is right or not, but I think it is a bug in my engine
This is how I got it very easily (atleast on a windows computer):
Start up Unity and simply import the package (which works fine for me…)
Another way which also seems to work but is not practical…
Start up Unity (open the project where you want to import the pro script)
Go to the windows explorer and search for the map where Unity is located
simply go to this file: Unity 4.5.2/editor/standard packages
doubleclick on the pro version of water
Unity now will simply import Water4 also, this is a nice feature with which you can make some really nice looking water!
Warning: There is a big chance this is not working for you because I think it is a bug in my Unity Engine!