thank you! That works, but the mask needs some manual cleaning: the map is tiled, and projected on all surfaces.
Is it planned to have it working like in Vray (which seems more logical) in future releases?
Actually, you can just use Include/Exclude list in the render element, and include only objects that have the material.
So you go into material editor, hit "select by material" and once objects with that material are selected, just click the little + button next to include/exclude, then click the include/exclude button itself, and set mode to include.
It may look like bit too many steps, but it's doable in 3-5 seconds :)