X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=blender%2Fio_mspgl%2Fmaterial.py;h=7299e636ea7a6e2682dd52dd4051e64df72b505b;hp=aba58e5518d4ebf9477da591ccb2a0e776cad249;hb=6b9338845dfee441cd18ad6c633e4feef8ad14e1;hpb=87b74b1263710b0acb9e0b72283e972fd54ee91b diff --git a/blender/io_mspgl/material.py b/blender/io_mspgl/material.py index aba58e55..7299e636 100644 --- a/blender/io_mspgl/material.py +++ b/blender/io_mspgl/material.py @@ -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))