From: Mikko Rasa Date: Mon, 12 Apr 2021 01:18:39 +0000 (+0300) Subject: Fix normal map property name in material exporter X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=c3ebbcb56c1ca9bb3022a7f49aab1da5e09150ba;p=libs%2Fgl.git Fix normal map property name in material exporter --- diff --git a/blender/io_mspgl/material.py b/blender/io_mspgl/material.py index 5e06fd8a..93f17790 100644 --- a/blender/io_mspgl/material.py +++ b/blender/io_mspgl/material.py @@ -86,7 +86,7 @@ class Material: base_color = self.create_property("base_color", (0.8, 0.8, 0.8, 1.0)) metalness = self.create_property("metalness", 0.0) roughness = self.create_property("roughness", 0.5) - normal = self.create_property("normal") + normal = self.create_property("normal_map") emission = self.create_property("emission", (0.0, 0.0, 0.0)) base_color.set_from_input(material.node_tree, surface_node.inputs["Base Color"], surface_node.inputs["Alpha"])