self.receive_shadows = material.receive_shadows
self.cast_shadows = (material.shadow_method!='NONE')
self.blend_type = 'ALPHA' if material.blend_method=='BLEND' else 'NONE'
self.receive_shadows = material.receive_shadows
self.cast_shadows = (material.shadow_method!='NONE')
self.blend_type = 'ALPHA' if material.blend_method=='BLEND' else 'NONE'