For the lightmaterial to work and show your map, the only thing you should do is to set the light color to pure black and than it should be fine.
For the layered material, what you mention is a bit annoying. What I usually do, is that I just make instances of the masks into some random slots of my base material (turn off these slots of course), and make it visible there.