X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=blender%2Fio_mspgl%2Fmaterial.py;h=1d6a06a0b0730974365d21e65a3f19760b566bea;hb=dbc91b65728ab9c0e574bb1127cfe4d2da55de7f;hp=aba58e5518d4ebf9477da591ccb2a0e776cad249;hpb=4791fe8e6451aa6ce62e530fe12904f5cfc112eb;p=libs%2Fgl.git diff --git a/blender/io_mspgl/material.py b/blender/io_mspgl/material.py index aba58e55..1d6a06a0 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)) @@ -139,7 +140,7 @@ class Material: sampler_settings = None for p in self.properties: if p.texture: - settings = (p.texture.default_filter, p.texture.interpolation, p.texture.use_mipmap, p.texture.max_anisotropy) + settings = (p.texture.interpolation, p.texture.use_mipmap, p.texture.max_anisotropy) if sampler_settings is None: sampler_settings = settings elif settings!=sampler_settings: