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.
How do i connect a mesh material node to an outputmaterial
Windows 7 Ultimate 64bit 32Gb RAM. Intel Core i7-5820K [email protected] GHZ. Display uses a Gigabyte GTX 460 1Gb VRAM. Octane uses an EVGA GTX 970 4Gb VRAM.
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.
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.
Windows 7 Ultimate 64bit 32Gb RAM. Intel Core i7-5820K [email protected] GHZ. Display uses a Gigabyte GTX 460 1Gb VRAM. Octane uses an EVGA GTX 970 4Gb VRAM.