I’m currently trying to displace an object based on the distance field gradient which represents the direction from the nearest object. The “Affect Distance Field Ligtning” option is disabled for the mesh that uses the material to prevent self-shadowing.
As soon as the object is displaced, the original mesh is rendered black and the displaced part with some opacity although the material does not use opacity at all, as shown in the recording: