Рет қаралды 3,698
► Download project file:
voxyde.com/tut...
In this video we go over setting up a procedural system to build materials, assigning textures and populating shaders. Then we take a look into how to automatically assign materials in Solaris, using the name attribute from the geometry.
Here is the code if you want to save it in your attribute wrangle:
string name = usd_name(0, s@primpath);
string mats = "/materials/"+name;
usd_addrelationshiptarget(0, s@primpath, "material:binding", mats);