Hi,
I’m current working on a water material in order to make a river.
I want it to be able to damp when there is anything inside the river.
There is one tutorial I followed to make the effect using Distance Gradient Field.
However, the river reacts to objects that is hovering above the river as well.
Is there any better solution to make this kind of effect possible?
Here is the test material I use to figure out what is going on.
You can see that the surface is changing color even when the cube is not touching the surface

