- Home /
Creating a cup of water using Unity Pro Water
I've been having this problem for a few weeks now and I can't figure out the best way to address it. I am trying to create a beaker filled with water but I am having problems when rotating my camera around it. I created a custom mesh (in this case a cylinder) and I replaced the Water4Example (Advanced) mesh with my custom one. I tweak the values so that it was less wave-y and did not animate. I need the water to be stagnant. However when I move the camera around to inspect the water, I am getting different colors at different angles. It appears that the water is changing when I am above the horizontal plane or below it. I opened up the shader and tried to adjust it but I have limited knowledge of HLSL. Can anyone help me please?
Answer by piratesnvrbleed · Mar 15, 2013 at 05:34 PM
I found out this problem is being caused due to reflection from the skybox. This post will solve this bug.
http://answers.unity3d.com/questions/180988/can-you-remove-reflection-from-unity-pro-water.html
Your answer
Follow this Question
Related Questions
Recreating basic function in C# 1 Answer
How can I get correct lighting on a low poly water shader? 1 Answer
2D Water top surface profile 1 Answer
Water Shader: Everything broke, but I only changed settings trying to fix it? 0 Answers
How is _WorldSpaceLightPos0 calculated for a directional light? 0 Answers