Can somebody help me how can i bake multiple materials into one material?

I got this quality by seperating faces into 90 materials.But now i got a problem.I cant use lots of materials in unreal engine4 so i have to put them all in one material. Can someone help me to get this quality in one baked material ? (There is no baking materials only baking textures and thats what i mean ) Thanks!