Texture Atlases and Physical Materials

Hi everyone, I was curious about this, how would you go about giving a texture atlas (with 4 different textures on it) 4 separate physical materials? So I don’t get a brick response from, say, shingles?

Could it be done in the shader with a mask? Or maybe some sort of collision trick?