💬

Community answer

Collected from the ACE community Discord archive around 2023-11-21. It may be informal or outdated — anyone can edit this page to improve it. This topic changes between game versions — double-check before relying on it. Original discussion

Refreshing/deleting user-created materials

🖼️ RenderingUpdated 2 days ago•0 views
GMod caches PNG materials by name - reusing the same name won't show updates; restart GMod or try mat_reloadallmaterials/mat_reloadtextures. Material:destroy() …

How to make a user-created material refresh after updating, and does Material:destroy() free memory

GMod caches PNG materials by name - reusing the same name won't show updates; restart GMod or try mat_reloadallmaterials/mat_reloadtextures. Material:destroy() only clears the material's render target - RTs created internally by PNG materials can't be freed from memory. Converting materials to Valve material format may help.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.