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.alpha_cutoff = material.alpha_threshold if material.blend_method=='CLIP' else 0.0
self.image_based_lighting = material.image_based_lighting
if self.render_mode=='EXTERNAL' and not self.technique: