8
$\begingroup$

I am trying to composite some render layers from two different scenes:

Main scene has objects and mist pass, transparency in world setting enabled. Sky scene has only sky environment and transparency in world setting disabled.

What I want to achieve is to have the sky in the transparent area of the main scene, and to use the mist pass to add mist to the objects but not the sky, it should only affect the objects.

Main scene with objects:

main objects with transparency

Main scene mist pass

enter image description here

Sky scene

enter image description here

$\endgroup$
4
$\begingroup$

You can use the alpha channel of the trees renderlayer as a mix factor between the sky and the trees:

enter image description here

You can combine the Mist pass with the trees however you like, just replace the screen node with whatever nodes you want.

$\endgroup$
  • $\begingroup$ Ah I got it now, I was trying to do it all with only one mix node and over complicating things. $\endgroup$ – Neil Jan 1 '14 at 23:04

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.