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?
↧