Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 555 Bytes

File metadata and controls

18 lines (13 loc) · 555 Bytes

This script is importing the assets located under a root folder

Creates Material Instance after a Master Material (/Game/MasterMaterial/M_MasterMaterial')

The scanning will look for "source" and "textures" folders

MasterMaterial needs to have Texture Parameters for the following inputs : "BaseColor": "BaseColor", "Metallic": "Metallic", "Normal": "Normal", "Roughness": "Roughness", "Emissive" : "Emissive", "AO" : "AO"

Consequently the files need to have these names in their filename.

Line 127 root_folder = r'REPLACE WITH YOUR OWN PATH'