I am building an application that needs to apply a .SBSAR file as a material to multiple prims. Applying materials to a prim isn’t the problem, as the API for that is quite clear. Rather, my issue is adding the .SBSAR into the project as a material.
So far when I’ve added the .SBSAR to the project via the API, the system seems to not really understand what the material is. The result is a material that doesn’t work and has properties that look nothing like how it would if you drag-and-dropped it into the scene manually.
I would love to do this programmatically via the python API, but I’ve found no way to do it so far. Has anybody here tried to do this? I would love some guidance as to how this might be done.