Set background color to e.g. pink. Then render the figure using VMD. After that, open the image file by Photoshop, choose Select > Color Range, then click pink region to select background region, and then delete corresponding part, the background will be removed.
You can also use the freely available Irfanview (http://www.irfanview.com) to realize this aim, see this tutorial:
Plotting Multiwfn logo (electron localization function of Li6) with transparent background
https://youtu.be/E7lAGac3aDM