Hi guys,
I'm trying to get my particles to additive blend using the BitmapData draw function but for some reason it shows the edges of my png image when I set the matrix scale value to something other than 1.
I tried changing the image, disabling the colortransform etc, but only disabling the matrix.scale seems to 'fix' it.
Does anyone know why this is happening, and how to fix it?
Code:
var mtx:Matrix = new Matrix();
mtx.scale(particle.Size, particle.Size);
mtx.rotate(particle.Spin);
mtx.translate(particle.x - (_ParticleClip.width * particle.Size / 2), particle.y - (_ParticleClip.height * particle.Size / 2));
canvas.draw(_ParticleClip, mtx, new ColorTransform(particle.MultiColor.R / 255, particle.MultiColor.G / 255, particle.MultiColor.B / 255, particle.MultiColor.A / 255), _ParticleBlendMode);
Regards,