Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - dineyin

Pages: [1]
1
I'm trying to insert a compnode into an existing SBS between a PBR base material node and an output node (in this case a base color output node), but I'm having a really hard time figuring out the exact syntax to connect a node to the "Base Color" output pin on the PBR base material node. I can see from the docs that I need to set the "aLeftNodeOutput" parameter on the "ConnectNodes" function, but I can't figure out exactly what to put there.

Code: [Select]
aGraph.connectNodes(aLeftNode = PBRNode, aRightNode = myNewInsertedNode, aLeftNodeOutput = ??? )



the docs say that I should be using the "Identifier of the output of the left node", but I'm not sure how to get that. I've tried going through the list of "mCompOutputs" of the PBR node, but uisng the mUID values of those outputs didn't work

anyone have any luck trying to do this?

2
I don't know if this is a feature request or if I'm just missing something, but is there a way to assign custom thumbnails for materials? For our project we have a bunch of materials that are being created internally, and we want some way to visually differentiate them from materials that someone might have just downloaded from the internet.

I would love to be able to put a little icon on the thumbnail for "Approved" materials for people to use on our project.

I know it is possible to insert custom thumbnails in Substance Designer, but even if I publish with the material with the "enable Icon" option, the thumbnail doesn't show up in substance Painter?


Pages: [1]