I'm trying to setup a image decal in cycles, and I can't figure how to setup the nodes to work fine. Does anyone know the solution?

I'm trying to setup a image decal in cycles, and I can't figure how to setup the nodes to work fine. Does anyone know the solution?

Just have to plug the alpha value of the decal into the factor socket of the mix node. Hope it is useful for someone in the future.

@DavidGaskuNote that node wrangler is actually by Greg Zaal, but it was combined with node efficiency tools by Bartek Skorupa and then bundled with blender by default. It has lots of interesting features, but I mainly just use Ctrl+Shift+Click :) – gandalf3 Aug 22 '14 at 18:37