2
$\begingroup$

It is possible to have more than one the Material output node. As far as I have seen, only one of them will be used. Probably the first. Can it be changed?

I often use a second simple diffuse shader to get the output of a node in the middle of the network. Kind of like a viewer node, but with a material. With a simple way to switch the active output node, it could be made lots smoother.

$\endgroup$
3
$\begingroup$

I bet there's no way as simple as Greg's addon, currently. If you still chasing for another possible answer, try using Add Shader, hit M to mute one to show another. (Select them both then hit M will do a quicker switch)

enter image description here

Personally, I would recommend Greg's addon. Whatever, if this is what you want.

$\endgroup$
  • $\begingroup$ Clever idea :) Another way might be to use a mix shader with a factor of 1 so the bottom slot is used, the when needed mute the mix shader so the top slot is used. The only problem with this is that it is awkward to switch between more than two shaders. $\endgroup$ – gandalf3 Dec 24 '13 at 6:47
1
$\begingroup$

I think that the best way to do this is with this addon written by Greg Zaal, see this post.

However, after fiddling around a bit I found that the active material output node is the one that has not been selected for the longest time.

For example, say that the red shader (by shader I mean the material output node) is currently active in a node setup like this:

enter image description here

To make the green material output active:

  1. Select the green material output

  2. Select the blue material output again, so the green shader has now been unselected for the longest (not counting the red shader).

  3. Select the red shader. The green material output will now be active.

To make the blue material output active:

  1. Select the green shader
  2. Select the red shader (the currently active material output). The currently active shader is now the blue material output.
$\endgroup$
  • $\begingroup$ That's weird... $\endgroup$ – Matt Dec 23 '13 at 18:43
  • $\begingroup$ @Matt ikr :P I would have thought the last selected Material output node would be active, but no.. $\endgroup$ – gandalf3 Dec 23 '13 at 18:49
  • $\begingroup$ For some reason, this doesn't work for me. :-/ $\endgroup$ – Gunslinger Dec 24 '13 at 14:15
  • $\begingroup$ @Gunslinger Strange.. What OS/blender version? This could be a bug.. $\endgroup$ – gandalf3 Dec 24 '13 at 21:31
  • $\begingroup$ Windows 7 and 2.69 64bit. $\endgroup$ – Gunslinger Dec 25 '13 at 8:13
1
$\begingroup$

This behavior has been changed as of this commit. From the commit log:

Now it uses the last activated node like compositing does. This should have no effect on existing files until you activate another output node there.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.