]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/material.py
Implement image-based lighting in PbrMaterial
[libs/gl.git] / blender / io_mspgl / material.py
index aba58e5518d4ebf9477da591ccb2a0e776cad249..7299e636ea7a6e2682dd52dd4051e64df72b505b 100644 (file)
@@ -96,6 +96,7 @@ class Material:
                self.shader = material.shader
                self.receive_shadows = material.receive_shadows
                self.cast_shadows = (material.shadow_method!='NONE')
+               self.image_based_lighting = material.image_based_lighting
 
                if self.render_mode=='EXTERNAL' and not self.technique:
                        raise Exception("Invalid configuration on material {}: No technique for external rendering".format(self.name))