Boolean

Description :

-A Boolean Node with Inside or Outside alpha transparency output,
where it is intersected by the selected mesh object.

 

Usage :

-Select the other mesh object for intersection.

-With "Inside" checked, the intersected region is transparent,
with "Outside" the whole object is transparent except the
intersected region.
In the animation, an Outside Boolean sphere is moving through
an Inside Boolean box, "Double-sided" is checked for the sphere.

-The "Distance" output is calculated between the spot and the
intersected point of the selected object.
If there's no intersection, it returns an'infinite' number in Surface node editor
or zero in the Displacement node editor context.

-The "Delta" vector output is destined to the Displacement node editor,
this allows to deform a mesh with a another through a single connection.