public Texture mix(Texture newData) // mixes the texture with another one { for (var i = width * height - 1; i >= 0; i--) { pixel[i] = ColorUtility.mix(pixel[i], newData.pixel[i]); } return(this); }