I am interacting with USD via the Houdini /stage context.
I have an asset that already has a variant set “outfits” defined.
It has different variants (“outfit01”, “outfit02”, “outfit03”, etc).
The variant set is saved on the “/root” primitive.
So far the different variants add new primitives (new outfit geometry).
In a second step I want to now add new materials and assign those to the new outfit primitives, potentially change some existing material assignments on other primitives.
I want to of course add that change to the respective existing variant. I don’t want to create a new variant set or new variants. If the user changes the ‘outfit01’ the geometry should change and the shaders.
I can’t really get it to work in Houdini.
A simplification of the setup looks like this:
Not that I deliberately didn’t put the shading stuff in the variants on the top, as this will happen in another houdini file in our pipeline.
From what I can tell I seem to basically overwrite the variants I created above with my setup. But how else would I solve this?