Browsing StarfallEx's section
← Back to ACE
💬

Community answer

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

Applying custom textures to imported OBJ models

⭐ StarfallUpdated 2 days ago•0 views
See the texture variable in mesh_3d.lua example - set the material's basetexture (and bumpmap) via URL. It works as long as the UV wrap mode is repeat; some sym…

How to import an OBJ model with its textures correctly in Starfall

See the texture variable in mesh_3d.lua example - set the material's basetexture (and bumpmap) via URL. It works as long as the UV wrap mode is repeat; some symmetrical models have mirrored UVs which adds difficulty. The OBJ parser only reads v/vt/vn/f lines - extra lines (e.g. 'L ...') can be safely removed. Texture must be 1024x1024 to fit the rendertarget.

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.