]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/material.py
Recognize transparent materials in Blender and export them accordingly
[libs/gl.git] / blender / io_mspgl / material.py
index 73f33d5c29a669eccdb235e0823dea95a1086209..88e251b8d7d4f9cd4e569a956a82286a332ddfb8 100644 (file)
@@ -124,6 +124,7 @@ class Material:
                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: