World Position Offset (vertex position)

It is would be cheaper solution if you simply paint those quads vertices in different vertex colors and use this colors as masks.
Especially if you need 4 of them - black, red, green and blue.