# Is it possible to set which material output node is used?

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.

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)

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

• 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 6:47

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:

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: