Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'io_coat3D/tex.py')
-rw-r--r--io_coat3D/tex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py
index fd1792f2..14e26508 100644
--- a/io_coat3D/tex.py
+++ b/io_coat3D/tex.py
@@ -223,7 +223,7 @@ def gettex(mat_list, objekti, scene,export):
else:
bpy.data.textures[name_tex].use_normal_map = True
objekti.active_material.texture_slots[index].normal_map_space = 'TANGENT'
- objekti.active_material.texture_slots[index].normal_factor = -1
+ objekti.active_material.texture_slots[index].normal_factor = 1
@@ -236,7 +236,7 @@ def gettex(mat_list, objekti, scene,export):
objekti.active_material.texture_slots[index].uv_layer = objekti.data.uv_textures.active.name
objekti.active_material.texture_slots[index].use_map_color_diffuse = False
objekti.active_material.texture_slots[index].use_map_normal = True
- objekti.active_material.texture_slots[index].normal_factor = -1
+ objekti.active_material.texture_slots[index].normal_factor = 1
if(bring_spec == 1 and texcoat['specular']):