Material that transfers emitter's diffuse color and light to hair particles

Hi,

I’m trying to figure out a way to transfer an emitter’s diffuse information (direct light and colour) to a hair particle system by using nodes instead of baking the light onto the object. The idea is that the hair material would use an emission node and would take the colour of the emitter’s direct diffuse light.

Here is an example of what I would like to achieve. For this image I baked the diffuse direct light onto a texture which is then applied to the emitter and to the hair particle system. But since I would like to animate the light and the object, I’m trying to get a material that constantly updates the hair’s colour to follow the emitter’s.


^The hair strands take the colour of the object’s shadow area.

Any suggestions are welcome, thanks!
Hair_DiffuseColor_Example.blend (628 KB)