self.uniforms = material.uniforms[:]
self.receive_shadows = material.receive_shadows
self.cast_shadows = (material.shadow_method!='NONE')
+ self.blended = (material.blend_method=='BLEND')
self.image_based_lighting = material.image_based_lighting
if self.render_mode=='EXTERNAL' and not self.technique: