Masoud Posted July 12, 2023 Share Posted July 12, 2023 (edited) Hi guys, A reference copy of a node works fine in the same network area, but it doesn't when I cut and paste it into another node. For example, I have 3 material builders, and I would like to paste a reference copy of shaders into my other materials. How can I fix it? Thanks for helping. Edited July 13, 2023 by Masoud Quote Link to comment Share on other sites More sharing options...
Masoud Posted July 13, 2023 Author Share Posted July 13, 2023 The main problem is it copies a relative path when referencing, but if I find a way to change it to an absolute path, the problem would be solved. Quote Link to comment Share on other sites More sharing options...
Masoud Posted July 16, 2023 Author Share Posted July 16, 2023 Any idea? Quote Link to comment Share on other sites More sharing options...
Atom Posted July 16, 2023 Share Posted July 16, 2023 (edited) They way I've approached this in the past is to use Python to generate my material nodes to begin with. Then I can click my shelf tool to blast out new copies of the materials which have the same parameters set. If you are just trying to apply a "synchronized" material to multiple objects or instances and decoupling only a few parameters, consider supply attributes to those objects/instances instead. You can create a custom @index attribute on each object, then apply the same material to every object. Within the material you can reference that index, to drive a switch or bias mix field to blend or switch various maps or values on the master material. Edited July 16, 2023 by Atom Quote Link to comment Share on other sites More sharing options...
Atom Posted July 16, 2023 Share Posted July 16, 2023 (edited) . Edited July 16, 2023 by Atom Quote Link to comment Share on other sites More sharing options...
Masoud Posted July 27, 2023 Author Share Posted July 27, 2023 Thank you Atom, but the problem is not just about the Material nodes. I would like to find a simple way to do this for all of the nodes in the Houdini. Quote Link to comment Share on other sites More sharing options...
lynloveyounever Posted August 7, 2023 Share Posted August 7, 2023 If you want to change the parameter reference path, you can use Python: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.