How to make shadow matte
Make Use Background Shade of standard from Maya, (Red circle of left)
set-up to shader attributes like next picture. (Red circle of right)
Shadow will rich or grey by the Shadow Mask's numerical value.
Made shader install to floor object.