If one mountain can be defined by a rectangular or spherical shape, you can mask all shaders needed for a particular mountain by simple shapes. If it's many shaders for each mountain, just add those all to a surface shader's child input and mask the latter. Do that for each mountain.