Skip to content

Commit

Permalink
use the inverse of the normal factor to match the inverse level in th…
Browse files Browse the repository at this point in the history
…e loader
  • Loading branch information
jackcaron committed Aug 5, 2015
1 parent 8e4d83b commit 71539bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Exporters/Blender/io_export_babylon.py
Original file line number Diff line number Diff line change
Expand Up @@ -1475,7 +1475,7 @@ def __init__(self, material, scene, filepath):
if mtex.use_map_normal:
# Bump
BabylonExporter.log('Bump texture found');
self.textures.append(Texture('bumpTexture', mtex.normal_factor, mtex, filepath))
self.textures.append(Texture('bumpTexture', 1.0/mtex.normal_factor, mtex, filepath))
elif mtex.use_map_color_spec:
# Specular
BabylonExporter.log('Specular texture found');
Expand Down

0 comments on commit 71539bb

Please sign in to comment.