Could anyone explain how to use the DistanceToNearestSurface material node in 4.9? I’ve tried to just use it as the base color in a material, applied this material to multiple meshes and expected to see the meshes change color once I move them closer or further away from each other, but that does not really seem to be the case. Even with no other meshes around a mesh there are black areas on the mesh which randomly get bigger or smaller when moving around the object.
I have checked the mesh distance fields with visualizing the distance fields, they are perfect, since I only use cubes.
So I would really like to know how to correctly use this node