Saving material Instances
Posted: Wed Feb 28, 2024 11:39 am
Hi,
I'm working a game where you can spawn different objects like table, chair etc.
Each object has multiple materials, and user can change the color, tiling of texture and even change whole material from a given material list.
So my all objects have instanced material as i'm changing them at runtime. So what would be the best approach to save these materials? As i can change color,tiling and even a new material (like if i want to make table wooden or metal).
Kinda stuck here for a while, would be great if you can help.
I'm working a game where you can spawn different objects like table, chair etc.
Each object has multiple materials, and user can change the color, tiling of texture and even change whole material from a given material list.
So my all objects have instanced material as i'm changing them at runtime. So what would be the best approach to save these materials? As i can change color,tiling and even a new material (like if i want to make table wooden or metal).
Kinda stuck here for a while, would be great if you can help.