Any ideas on how to achieve this effect? (foam)

Sorry that the image is so small :roll:

Thanks!

The base shape should be fairly easy to sculpt with a sculpting software. The air bubbles you can also do with sculpting with a texture projection brush. Then you can export the sculpted shape without the bubbles and export the finer detail as a displacement map. For the material I would use an SSS material like VrayFastSSS2.

Thanks Alex.

I’ll try that. At first I thought this was too much for a displacement map.

You might get some ideas reading this thread: http://forums.chaosgroup.com/showthread.php?67148-trying-to-develop-a-bread-rendering-technique-(like-in-Pixar-s-Ratatouille)