How to change material properties in a script?


#1

When you get model.material.attributes you only have a bunch of interface types. How can you chenge for example the diffuse color of a model every frame? Or the metalness?

Thanks!