πŸ’¬

Community answer

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

Cubemap/envmap materials in SF

πŸ–ΌοΈ RenderingUpdated 2 days agoβ€’0 views
Cubemaps need the envmap flag set when the material is created - $flags isn't a normal keyvalue so setInt may not cover it; try setting the flag and calling the…

Can a Starfall material use the map's cubemap textures / how to make envmap materials

Cubemaps need the envmap flag set when the material is created - $flags isn't a normal keyvalue so setInt may not cover it; try setting the flag and calling the recalculate function, reproduce in GLua first, or load a .vmt from the data folder since GLua materials may not support envmap after creation.

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.