Skip to main content
Inspiring
August 10, 2023
Question

Should I copy all material nodes if I want other primary input?

  • August 10, 2023
  • 1 reply
  • 684 views

Or it's possible to  do with loading a preset file or something ?

This topic has been closed for replies.

1 reply

davescm
Community Expert
Community Expert
August 11, 2023

Can you explain further what you are trying to do, maybe with a screenshot? That might help arrive at the best method.

 

It would be very rare to duplicate all nodes, you can use switch nodes at appropriate points in your graph so only the parts that need to be different are changed. And/or,  you can drive parameters of nodes throughout the graph by functions which are in turn driven by an exposed input parameter.

 

Dave

kirkr5689Author
Inspiring
August 11, 2023

Thanks Dave  for your reply.   

I meant I can load a preset file into  material  blend node  that makes only  3 color channels visiable:   base color, normal,specular    . The same  way  roughness, metallic height  and AO  all packed in a single RGBA  texture in our game.    In my oppinion  it's  easier  than managing   lots of  connecting lines.   

But since many material nodes have it's primary input  in "duffuse color"   it makes me certain problem  because that input is always hidden in my preset. 

 

I just wonder if  there is a way to change primary input   without  doing  an unlocked copy  of every  material node I would want with other primary input?    It's minor modification and perhaps  ccould be in SBSPS file too?  An extra line there ?

 

 

davescm
Community Expert
Community Expert
August 11, 2023

You can load presets to show what inputs are available but, at present, to change the node's primary input (the one with the dot) would require opening the nodes reference (Ctrl+E), right  clicking on the alternative input and setting it as primary input and then saving a copy.

 

Dave