blenderのPrincipled BSDFをpythonで指定する関数
import bpydef create_fully_controllable_material( name, base_color=(1.0, 1.0, 1.0, 1.0), metallic=0.0, roughness=0.5, ior=1.45, alpha=1.0, transmission=0.0, subsurface=0.0, specular_ior=0.5, specular_tint=(1.0, 1.0, 1.0, 1.0), anis