Browsing StarfallEx's section
← Back to ACE
💬

Community answer

Collected from the ACE community Discord archive around 2020-01-27. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

$color1/$color2 material params need setVector

⭐ StarfallUpdated 2 days ago•0 views
Use mat:setVector("$color1", Vector(r,g,b)) style - they require vector args; note setVector removes baked lighting on the material.

How to set $color material parameters in SF

Use mat:setVector("$color1", Vector(r,g,b)) style - they require vector args; note setVector removes baked lighting on the material.

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.