Hi, This might be a stupid question, but I searched and couldn't find the topic which addresses this issue in a simple manner. I want to make transparent water from "simple daylight water" in Unity (not Pro). Is it possible? Thanks
well, after some searching... http://forum.unity3d.com/threads/2106-Transparent-water-for-indie/page2?highlight=transparent+water solution is: at line 58-59 of the FX-Water Simple shader, after replace with the transparency value you can change it at the alpha value of the horizon color
Cheers 7Loop7... your method worked for me. Minor syntax change to get it working on Unity 3.2 replace : with
Hi guys It's been few weeks since I started to use Unity, so I am abit newbiee.. trying to figure out how to make a transparent water using the standard water shader comes with unity 3.2. I have checked the forums to find a decent answer and I have tried every single thing that I have found but I still couldn't figure it out When I put the highlighted script in picture-2 all my water effects dissapears for some reason.. most probably I am doing something wrong, so I am putting some 3 screenshots from my current project file and maybe someone could figure out what I am doing wrong. Thanks in advance. PIcture-1 (how its look like) http://www.box.net/shared/8xv4djcyp8 Picture-2 (putting transparent script given for unity 3x) http://www.box.net/shared/y8s16itcik Picture-3 (after putting the transparancy script) http://www.box.net/shared/6j1fu628p2
Ok. Problem finally fixed. I have used Unity Pro Water Assets to fix this. Thanks guys Here's a current screenshot : http://www.box.net/shared/vvjzcql0np
Hello afalk, I have used water pro assets that only comes with Unity Pro. I think that's the only solution atm. I have found package somewhere in the forums while I was searching. However, I can re-upload the example package that I am currently using if you like.
Has anyone gotten the ripple effect to work with this? http://forum.unity3d.com/threads/27205-Ripple-Effect
Hi, erm I like used this thing right, and it went funny... Ok, I changed the shader and all that, and it works, and my water is translucent, but now when I look through it, My render distance is lowered like. So normally, if I look at some mountain or something thats miles away like, then I can see it, but when I look at something through the water, anything (well, any terrain) that is more that like whats about 100 metres away is completely invisible! What do I need to change in the shader or what to fix this please??!?!?!?
It was brought to my attention this method doesn't render anything behind the water, I have modified the answer to hopefully fix this. solution is: at line 58-59 of the FX-Water Simple shader, after Code (csharp): // ----------------------------------------------------------- // Fragment program replace : Code (csharp): Subshader { Tags { "RenderType"="Opaque" } Pass { with : Code (csharp): Subshader { Tags { "Queue"="Transparent" "RenderType" = "Transparent" } Blend SrcAlpha OneMinusSrcAlpha ColorMask RGB Pass {