fix: update to blender 4.2 LTS
- update to Blender 4.2 LTS - fix issue that can not find specular property in priniciple BSDF when applying virtools material. - update blender manifest toml to let plugin works. - there are various mesh works need to be fixed in later commits. this commit can not works normally on blender 4.2
This commit is contained in:
@ -397,7 +397,7 @@ def apply_to_blender_material(mtl: bpy.types.Material):
|
||||
# bnode.inputs["Emission"].default_value = rawdata.mEmissive.to_const_rgba()
|
||||
|
||||
mtl.specular_intensity = rawdata.mSpecularPower
|
||||
bnode.inputs["Specular"].default_value = UTIL_functions.clamp_float(
|
||||
bnode.inputs["Specular IOR Level"].default_value = UTIL_functions.clamp_float(
|
||||
rawdata.mSpecularPower, 0.0, 1.0
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user