2

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.

gandalf3
  • 157,169
  • 58
  • 601
  • 1,133
Gunslinger
  • 6,392
  • 2
  • 28
  • 40

3 Answers3

3

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.

Leon Cheung
  • 27,718
  • 11
  • 89
  • 161
  • 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. – gandalf3 Dec 24 '13 at 06:47
1

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.
gandalf3
  • 157,169
  • 58
  • 601
  • 1,133
1

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.

gandalf3
  • 157,169
  • 58
  • 601
  • 1,133