Actually the four parts’ function and the corresponding nodes were the same.
So I wanna combine the xFIle Control Group(the purple line box) together, to be a subpatch.
I know the inlet node’s property or type , but i don’t know how to make the subpatch’s outlet node, because of the type of the phongPoint outlet nodes .
Or there is any other ways to split this purple part to make a new one(subpatch).
all effects, like the Phong… have a Pin:Layer output, which is of type “Node” (which is not a very good name, we chose). you need an IOBox (Node) to make in/outlets for those types.
also remember that you can always easily create the appropriate iobox by starting a link and then pressing the middle mousebutton to end it with an already connected iobox. then middleclick that iobox to name it. voila.