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$

1 Answer 1

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$
1
  • $\begingroup$ Ah I got it now, I was trying to do it all with only one mix node and over complicating things. $\endgroup$
    – Neil
    Commented Jan 1, 2014 at 23:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .