3
$\begingroup$

I render a scene in Multilayer EXR sequence (Cycles). After I've combined the passes together everything is OK, but there the foam is missing. I've checked all the passes, and I don't see pass with foam.

Combined pass:

enter image description here

Composite:

enter image description here

Math: ((DiffuseDir + DiffuseInd) * DiffuseCol) + ((GlossDir + GlossInd) * GlossCol) + ((TransDir + TransInd) * TransCol)

Ocean shader:

enter image description here

How can I get the foam for final composite?

$\endgroup$
  • 1
    $\begingroup$ How did you create the foam? If you used an emission shader, it would be in the emit pass (for example). $\endgroup$ – JtheNinja May 11 '15 at 17:38
  • 1
    $\begingroup$ @JtheNinja I'm not sure in what pass must be foam. I check the foam, in the ocean modifer settings, so I created a layer of foam. Then I used this layer using a node "attribute", while working with the ocean shader. $\endgroup$ – Rumata May 11 '15 at 19:18
  • $\begingroup$ @MaximVelichkin What shader(s) did you plug the attribute node into? $\endgroup$ – gandalf3 May 11 '15 at 19:23
  • 1
    $\begingroup$ How about creating a material for the foam only, instead of integrating it with the water and creating a single complex material (Maybe even use the foam attribute to make a material that is all transparent but the foam... to keep the compositing simple). Make a render layer with the water material and everyting else and a second layer with the foam. Take both in Nuke and work your magic. $\endgroup$ – cegaton May 12 '15 at 7:53
  • 1
    $\begingroup$ Can you post a reduced blend file with just the ocean mesh? Also, can you remove any unnecessary nodes (There's a whole group top right that is not connected to any shader node, adding extra confusion to the node tree). If you're sure the foam material is on a layer that is contributing to the Combined pass, then it has to do with the Emission or Environment passes which you are currently not combining in your compositing process. $\endgroup$ – Todd McIntosh May 19 '15 at 2:31

protected by GiantCowFilms Jun 29 '15 at 0:22

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Browse other questions tagged or ask your own question.