New Addon: Import Autodesk .max #105013
@ -1312,7 +1312,7 @@ def adjust_material(obj, mat):
|
|||||||
matShader = PrincipledBSDFWrapper(objMaterial, is_readonly=False, use_nodes=True)
|
matShader = PrincipledBSDFWrapper(objMaterial, is_readonly=False, use_nodes=True)
|
||||||
matShader.base_color = objMaterial.diffuse_color[:3] = material.get('diffuse', (0.8,0.8,0.8))
|
matShader.base_color = objMaterial.diffuse_color[:3] = material.get('diffuse', (0.8,0.8,0.8))
|
||||||
matShader.specular_tint = objMaterial.specular_color[:3] = material.get('specular', (1.0,1.0,1.0))
|
matShader.specular_tint = objMaterial.specular_color[:3] = material.get('specular', (1.0,1.0,1.0))
|
||||||
matShader.specular = objMaterial.specular_intensity = material.get('reflect', 1.0)
|
matShader.specular = objMaterial.specular_intensity = material.get('reflect', 0.5)
|
||||||
matShader.roughness = objMaterial.roughness = 1.0 - material.get('shinines', 0.6)
|
matShader.roughness = objMaterial.roughness = 1.0 - material.get('shinines', 0.6)
|
||||||
matShader.emission_color = material.get('emissive', (0,0,0))
|
matShader.emission_color = material.get('emissive', (0,0,0))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user