X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=blender%2Fio_mspgl%2Fmaterial.py;fp=blender%2Fio_mspgl%2Fmaterial.py;h=fc30d3399c94e77ec562c40fb810f017db005bc8;hb=26b48751894c71b94ccf46bdf864d30fc29fa739;hp=633f030f2ede62bc82c487ec8eb454e2e85b98b4;hpb=5606e48ae489255882203abd3976033d4cdc519c;p=libs%2Fgl.git diff --git a/blender/io_mspgl/material.py b/blender/io_mspgl/material.py index 633f030f..fc30d339 100644 --- a/blender/io_mspgl/material.py +++ b/blender/io_mspgl/material.py @@ -222,6 +222,7 @@ class Material: 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: