This works for texture files that already have a mask in its alpha channel.
(I made this tutorial because I couldn't find any simple solution on Google or YouTube until I randomly stumbled upon it in the Hypershade).
0:00 - Intro
0:10 - The method.
0:45 - Changing the transparency algorithm (look) in Viewport 2.0.