šŸ’¬

Community answer

Collected from the ACE community Discord archive around 2024-09-11. 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

Loading a texture from a file written by file.writetemp

šŸ–¼ļø RenderingUpdated 2 days ago•0 views
Use render.createFromImage("data/sf_filedata/file.jpg", "smooth") to create a material directly from the saved image (any resolution). Also make sure you load i…

How to set a texture from a file written via http.get + file.writetemp

Use render.createFromImage("data/sf_filedata/file.jpg", "smooth") to create a material directly from the saved image (any resolution). Also make sure you load it after the download finished - loading before caches an error texture.

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.