How to use physical material masks?

Everynone was literally not kidding. Google search brought me to some hypothesis on BP node usage and no lucks. How strange is it to leave such an important feature undocumented and cryptic to hell.

This is pretty much mandatory for procedural masking, and not just for visual / sound effects but environmental query…