Facepunch / garrysmod-requests

Feature requests for Garry's Mod
86 stars 24 forks source link

A function for saving ITexture objects to .vtf files in the data folder on the fly #1819

Open VaasKahnGrim opened 3 years ago

VaasKahnGrim commented 3 years ago

You told me to feel free to make a new issue for it so here I am(https://github.com/Facepunch/garrysmod-requests/issues/1720#issuecomment-790072780)

thegrb93 commented 3 years ago

mat_listmaterials or w/e the command is has save buttons that do this so it's definitely an engine feature already.

I'd like to see a way to get the pixel data as well, preferably as a string of bytes in the texture's format.

VaasKahnGrim commented 3 years ago

yea, it would be really great for caching lua generated textures and for sending player made banners to a webserver while keeping it cached clientside aswell. Like thats just 2 things I plan to use it for right off the bat