How to use Texture Coordinates, Mapping and Gradient Texture nodes to generate a black and white mask?
If I understand correctly, you could use Gradient Texture for that.


Add Gradient Texture set to Linear (default)
Use ColorRamp to control it.
Done