Page 1 of 1

How do i connect a mesh material node to an outputmaterial

PostPosted: Thu Jul 02, 2015 9:41 pm
by Wallan
This must be really simple.
I just cant get it to work.
Could someone give me an example of how i connect a material in a mesh to a nt_out_material inside a graph.

I have created a graph that has some output materials named A,B,C etc.
Outside the Graph I have a mesh with materials with names A,B,C etc.

As the mesh has a couple of pins that not should be connected i have chosen to iterate the graph output materials and then find the mesh material pin with same name and connect them. Currently I get an error, cant connect node A with node A.

Re: How do i connect a mesh material node to an outputmaterial

PostPosted: Thu Jul 02, 2015 11:08 pm
by Wallan
Solved it myself in the end.

Could not figure out how to get the correct pin by name but iterating by index until i found the right ones solved my problems.