Cycles Nodes - object location in another object's space? The Object Info node gives me access to the location of the shaded object('s origin) in
World Space
The Texture Coordinate node gives me access to the coordinates of the shading point in the Object Space of any object.


How in a shader tree, could I retrieve the location of the shaded object in another object's space? For instance, the location of the shaded object in its parent's space?

Somehow apply the parent's inverse transform to the Object Info > Location?
I was being dim.. to return the location of object A in the space of object B, in all A's shading points:

Here, 'A' is the shaded object, 'B' is an Empty.