It depends on the engine and if does support them, you first need to check that out, not all engines will take a Stack/Mask Map. As you mentioned, in the case of UDK is pretty simple, Mutiply the R channel by a color and put it into a diffuse, and done, in other engines (if they don't have a shader creation system in…