How do I convert a material to a texture 2d?

I’m making icons and then using the textures making it a material so I can control the colors and details better, I am then trying to convert the material into a slate brush then texture 2d, like this. And it just returns none everytime.

Edit: Half solved I found a decent video that shows me how to do this with bps, can’t get an alpha on my icons but oh well.

If you want the transparency on your texture, take that video and make sure your material’s blend mode(Domain is user interface for me.) has “AlphaComposite (Premultiplied Alpha)” selected.

If the transparency is inverted you then take a “1-x” on the alpha(A) of your texture before plugging into opacity.