Take the 2-minute tour ×
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It's 100% free, no registration required.

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?

blendFile

node setup

share|improve this question

marked as duplicate by David, gandalf3, CoDEmanX, someonewithpc, iKlsR Aug 28 at 19:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
For your case, just turn the mixing up to 1; How the f--- did you manage to get a viewer node into the material?! –  someonewithpc Aug 22 at 13:26
2  
ahh, node wrangler addon, by Bartek Skorupa, one of my favourite addons. You can do a lot of things, for example, mix nodes with ALT+rightclick drags. –  DavidGasku Aug 22 at 13:32
    
the mix=1 doesn't use the second image alpha, so it turns black –  DavidGasku Aug 22 at 13:33
    
oh, damn. I just figured out. Just have to plug the alpha value into the factor socket –  DavidGasku Aug 22 at 13:34
1  
Thanks @gandalf3 :) Node Wrangler is a joint effort between Bartek and I, and even gets some commits from other devs occasionally. That repo on github is no longer the one we use, since the add-on is in blender by default now - so everyone's already got it installed and just needs to enable it. –  Greg Zaal Aug 27 at 13:31

1 Answer 1

up vote 5 down vote accepted

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.

solution

share|improve this answer

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