diff options
author | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2018-12-05 02:01:19 +0300 |
---|---|---|
committer | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2018-12-05 02:01:19 +0300 |
commit | 111b8f7f0f1441a04295238c74975ca9083868b8 (patch) | |
tree | 19f36dc5e3b194b49b41cf8cf2e8b18afd5e69e3 /io_coat3D/tex.py | |
parent | 4b8fdf2936360a95b1e812bbfab25eff1782415c (diff) |
texture import name fix
Diffstat (limited to 'io_coat3D/tex.py')
-rw-r--r-- | io_coat3D/tex.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py index c5c35052..6b936f0d 100644 --- a/io_coat3D/tex.py +++ b/io_coat3D/tex.py @@ -57,11 +57,11 @@ def readtexturefolder(mat_list,texturelist,is_new): #read textures from texture if texture_info[0] == mat_list[0].name: if texture_info[2] == 'color' or texture_info[2] == 'diffuse': texcoat['color'].append(texture_info[3]) - if texture_info[2] == 'metalness' or texture_info[2] == 'specular': + if texture_info[2] == 'metalness' or texture_info[2] == 'specular' or texture_info[2] == 'reflection': texcoat['metalness'].append(texture_info[3]) if texture_info[2] == 'rough' or texture_info[2] == 'roughness': texcoat['rough'].append(texture_info[3]) - if texture_info[2] == 'nmap' or texture_info[2] == 'normalmap': + if texture_info[2] == 'nmap' or texture_info[2] == 'normalmap' or texture_info[2] == 'normal_map': texcoat['nmap'].append(texture_info[3]) if texture_info[2] == 'emissive': texcoat['emissive'].append(texture_info[3]) |