Shader aware of other objects

Hello,
Is there a way to make a material aware of the position of other objects/actors in the scene?

I would like to implement a Splatoon like material without using decals.