0
$\begingroup$

I have two textures with transparency and I want them on top of each other with a Diffuse shader below them via the Material nodes in Cycles.

setup

desired result

Because I'm using the Material nodes and not the Compositor, I can't just simply use the Alpha Over node.

Here's as far as I got. (Ambient Occlusion is enabled. I need both textures at full opacity.)

my failed node setup

My problem seems to be stemming from the fact that I don't know how to combine alpha channels, if that helps.

How do I do this?

(It MUST be done in the Materials node editor.)

Here's the .blend file:

$\endgroup$
1
$\begingroup$

The alpha channel of both images can be combined ( in this case it works if you add them, but you can also do other operations depending on your needs) and used to control the mix for the colors or shaders:

enter image description here

or:

enter image description here

$\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.