ksons / gltf-blender-importer

Blender glTF 2.0 Importer
MIT License
214 stars 36 forks source link

metallic and roughness are swapped in the importer #24

Closed garyo closed 6 years ago

garyo commented 6 years ago

https://github.com/ksons/gltf-blender-importer/blob/b154ca9dd98f776a95cc40a27080099e2ba12663/addons/io_scene_gltf/material.py#L139

At line 139, it should be using roughnessFactor but it's using metallicFactor, and vice versa on line 146.

scurest commented 6 years ago

This should be fixed on latest master.