Uses a mask for alpha