I have a project where I have a posed character and I have to render hundreds of stills of this character wearing different outfits and with different materials. So there will be a variety of hats, shirts and accessories with some of the clothes and accessories reusing a mesh and giving it different materials. I also need to switch between a variety of skin colors for the model.
I could do this by writing a script, but was wondering if Blender might already have some sort of feature to make this easier. I thought about using animation frames, but don’t know if I can use that to swap a mesh’s material.
You could try combine all the materials into one shader with mix nodes, and keyframe the contribution sliders. I’ve done it with t-shirt designs. It can get weird if your shader gets too big though.
You might want to take a look at Mustard-UI it is made to create easy clothing swaps, skin tones, makeup, etc… it is used in tons of Daz to Blender imports to auto-generate this as UI right in the N-Panel… you just need to add the names of the objects…
Here are the directions for its configuration…
Figure you might want to read about it first…
UPDATE: The Mustard UI is now downloadable in Preferences > Extensions.