Merged changes in the trunk up to revision 35203.
[blender.git] / source / blender / render / intern / source / shadeoutput.c
index 684f02d222fb5f7a77f940aeed3c601aae5b2b27..881c4e4145d7e609f746c01539ec7639ce8b97f5 100644 (file)
@@ -1593,7 +1593,7 @@ void shade_lamp_loop(ShadeInput *shi, ShadeResult *shr)
                        shi->r= shi->vcol[0];
                        shi->g= shi->vcol[1];
                        shi->b= shi->vcol[2];
-                       if(ma->mode & (MA_FACETEXTURE_ALPHA))
+                       if((ma->mode & (MA_FACETEXTURE_ALPHA)) || ma->vcol_alpha)
                                shi->alpha= shi->vcol[3];
                }
                if(ma->texco)