# I can't find the pass with foam

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.

### Composite:

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

How can I get the foam for final composite?

• How did you create the foam? If you used an emission shader, it would be in the emit pass (for example). – JtheNinja May 11 '15 at 17:38
• @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. – Rumata May 11 '15 at 19:18
• @MaximVelichkin What shader(s) did you plug the attribute node into? – gandalf3 May 11 '15 at 19:23
• 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. – cegaton May 12 '15 at 7:53
• 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. – Todd McIntosh May 19 '15 at 2:31

## protected by GiantCowFilmsJun 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?