I just wrote a new post detailing my method for capturing the preview from the material editor. I thought I’d share as it’s something I’ve wanted to do for years but have not been able to figure out until now. What it does is allow high-res thumbnails to be generated to file from the material editor window. It’s also disgustingly hacky, so avert your eyes if you are of a nervous scripting disposition. :surprised
I wrote it so that I can begin writing a shader database system for work, but since I wrote this part in my spare time, I can share it with you peeps. Hopefully it will be useful for any similar material based asset tracking scripts you might want to write.