Page 1 of 1

Two different materials controlled by the same node

Posted: Thu Aug 30, 2018 5:04 pm
by Ibycus
Quick question, is it possible to setup a metallic material and a diffused material such that they are both controlled by the same color node? I'd like to setup some materials where the same color node is controlling the diffuse color and the specular of different materials to change them at the same time.

I found one way to make this work using a mix material but I want to set this up for a lot of materials and the mix material just makes it more messy.

Thanks!

Re: Two different materials controlled by the same node

Posted: Thu Aug 30, 2018 5:17 pm
by niestudio
-redacted

Re: Two different materials controlled by the same node

Posted: Thu Aug 30, 2018 5:50 pm
by Ibycus
Ah, yes that does seem to work.

Only issues I am having now is that when I move the color slider (C4D color not rgb octane color) both materials update after the first move but then if you move it again the second material stops updating. Does the same happen with you?

Re: Two different materials controlled by the same node

Posted: Thu Aug 30, 2018 6:25 pm
by niestudio
can you post scene or at least a screenshot of node editor?

Re: Two different materials controlled by the same node

Posted: Thu Aug 30, 2018 6:37 pm
by aoktar
It's not absolutely adviced usage. One material will not get updates due not owning the sharing node. Try to use a xpresso or scripted for sharing control.

Re: Two different materials controlled by the same node

Posted: Thu Aug 30, 2018 7:01 pm
by frankmci
Ibycus wrote:Ah, yes that does seem to work.

Only issues I am having now is that when I move the color slider (C4D color not rgb octane color) both materials update after the first move but then if you move it again the second material stops updating. Does the same happen with you?
Ahmet and I and went back and forth about this a few months ago. In short, the underlying architecture of C4D doesn't directly support sharing nodes between materials. You can still do it, but because of that architecture, you won't see the changes propagate to the other materials without resending the scene to the video card.

There's more information about it in this thread:

viewtopic.php?f=30&t=65299

Re: Two different materials controlled by the same node

Posted: Thu Aug 30, 2018 7:31 pm
by niestudio
aoktar wrote:It's not absolutely adviced usage. One material will not get updates due not owning the sharing node. Try to use a xpresso or scripted for sharing control.
Apologies, I use the technique I described, BUT I use 1 RGBSpectrum piped into two materials that are in a mix. Perhaps I wasn't making changes to it often enough to see the refresh anomalies.
I removed the misleading info.