This function allows to automatically create PBR materials, from texture maps exported from texturing solutions like Substance (by Adobe).
Here is how it works:
1) Choose the directory containing the texture maps. Supported image formats are: PNG, JPEG, BMP, TIFF and TGA.
2) Texture maps should be named this way: MaterialName_MapType.extension. The PBR material created will be named MaterialName
3) The types of texture maps supported are the following ones, and they should be written exactly like this:
Example: for a material named "Carbon", the texture files should be written:
Note: Only one texture map file is required for the function to work (for example, only Albedo).