Hey there! I am tasked with writing a python script for automated object baking.I am stuck after importing the model. Only the albedo map is assigned to the material.Maps like metallic, normal and roughness are not assigned. It would be no problem for me to assign those texures in the python script but i haven't found any…
Hey. There are two examples in plugin folder that can help you with materials scripting: Creating Materials from Images.py Editing Materials.py Shortly: # Create new material mat = mset.Material(name) # Delete it mat.destroy() # Assign material to mesh mat.assign(mesh) # Assign texture to material, where texture - path to…