Alpha Mask Effect

You can just multiply the color of the pixel with the value (any component) of the B/W alpha texture. That way black will multiply by 0 (transparent) and white by 1 (no change).
So in the pixelshader that would mean something like

return tex2D(Texture, position) * tex2D(Mask, position).x;