How to make RGB texture map?

If I understand it correctly you want to pack masks? If that’s the case then it can be easily done in engine. Create an unlit material with your masks like in first image. Then draw that material to a render target. After that’s done you can create a static texture by right clicking on the render target in the content browser.