diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py index 75443c3df9d053967dd0cf663622493563c8cf7d..a0926cc47f3f1b1216be237998966014dfc4d5d3 100644 --- a/io_scene_obj/export_obj.py +++ b/io_scene_obj/export_obj.py @@ -79,7 +79,7 @@ def write_mtl(scene, filepath, path_mode, copy_set, mtl_dict): fw('Ni %.6f\n' % mat.ior) # Refraction index else: fw('Ni %.6f\n' % 1.0) - fw('d %.6f\n' % (1.0 - mat.alpha)) # Alpha (obj uses 'd' for dissolve) + fw('d %.6f\n' % mat.alpha) # Alpha (obj uses 'd' for dissolve) # 0 to disable lighting, 1 for ambient & diffuse only (specular color set to black), 2 for full lighting. if mat.use_shadeless: