Iskander Posted August 21, 2018 Share Posted August 21, 2018 Hi guys. Completely unknown subj for me. For example,I have a shader and through Multiparm block I set the required number of colors. And then I would like to connect these inputs inside the shader. How can I add them inside the shader and for example connect to the Switch node or any other for next manipulations? If anybody fix example file i will be very grateful to him. Thanks. multy_block.hipnc Quote Link to comment Share on other sites More sharing options...
vtrvtr Posted August 21, 2018 Share Posted August 21, 2018 I don't think you should do that. You can do it with a bit of scripting, check the hip, but it's not a very good idea. You'll never be able to close your asset, let alone compile it (technically you could make each combination an unique shader, but it seems messy to me) Someone correct me if I'm wrong, but I suppose the "correct" way to do this is do it in SOPs and then just read the attributes inside your shader with bind vop or similar Again, just to make it clear, this is likely a terrible idea: 2018-08-21_12-04-43.mp4 multy_block.hipnc Quote Link to comment Share on other sites More sharing options...
Iskander Posted August 22, 2018 Author Share Posted August 22, 2018 9 hours ago, vtrvtr said: I don't think you should do that. You can do it with a bit of scripting, check the hip, but it's not a very good idea. You'll never be able to close your asset, let alone compile it (technically you could make each combination an unique shader, but it seems messy to me) Someone correct me if I'm wrong, but I suppose the "correct" way to do this is do it in SOPs and then just read the attributes inside your shader with bind vop or similar Again, just to make it clear, this is likely a terrible idea: 2018-08-21_12-04-43.mp4 multy_block.hipnc Ок.Thank you very much. I came to the conclusion that then in my case it's easier to make groups of constant inputs and switch between them(the range is not so large, 1-5). 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.