diff --git a/blenderproc/python/loader/Front3DLoader.py b/blenderproc/python/loader/Front3DLoader.py index 6874529b1..e2f484595 100644 --- a/blenderproc/python/loader/Front3DLoader.py +++ b/blenderproc/python/loader/Front3DLoader.py @@ -370,6 +370,10 @@ def load_furniture_objs(data: dict, future_model_path: str, lamp_light_strength: # => Reset the emission color principled_node.inputs["Emission"].default_value[:3] = [0, 0, 0] + # Front3d .mtl files use Tf incorrectly, they make all materials fully transmissive + # Revert that: + principled_node.inputs["Transmission"].default_value = 0 + # For each a texture node image_node = mat.new_node('ShaderNodeTexImage') # and load the texture.png