I think you could probably do 4 different masks, so that would mean a base texture plus 4 "layers" so 5 sets of textures in total. Each mask could have a corresponding, diffuse, normal, spec, emmissive etc... but to do all of those with 5 sets of textures you would have to pack channels so you don't run into the texture…