Data Transfer modifier: can't get it to work
thanks to @lemon 's hint i managed to find a solution and it was quite simple:

source and target objects must overlap! 

they must sit at the same spot, just like for normal baking, and moving either object even slightly will noticeably change the result. by the way, it is not necessary to keep source object visible.