Closed ZAQraven closed 6 months ago
Maybe because not supported on blender 4.0
i just happen like that
File "/home/zaqraven/.config/blender/4.0/scripts/addons/io_scene_spm/import_spm.py", line 40, in create_material
principled_node.inputs["Specular"].default_value = 0
KeyError: 'bpy_prop_collection[key]: key "Specular" not found'
As the release notes of Blender 4.0 was written:
Specular reflection and transmission are now primarily controlled by a single index of refraction input. For texturing, a new IOR Level input adjusts the amount of specular reflection. For artistic purposes, specular tint be can set to an arbitrary color.
To avoid import failure, change 'Specular' to 'Metallic' in line 40.
Currently using stk-blender with commit 88ff5df.