---
title: "Best Practices - Cookies"
canonical: "https://rmanwiki-27.pixar.com/space/RU/619741185/Best%20Practices%20-%20Cookies"
format: markdown
---
![CookiesNMilk_new_Banner.jpg](media://016868f9-b782-43b8-8155-6864672ad8dc)

## The Cookies

The cookies are mainly a diffuse object with just a hint of scatter. The chocolate chips are shiny and almost molten in appearance. This is achieved using similar methods to the objects above and adding in the scatter as an effect you learned about in the milk above.

There's also a <u>[displacement](https://rmanwiki-26.pixar.com/space/RFM26/21037442)</u> to add modeling details and some small particles to add crumbs to the surface and table. You'll notice that, up close, the crumbs may appear to be floating, but this is an exaggeration to make them easier to notice from a distance.


Below is the shader network for the cookies. Each one is repeated and rotated. This creates the illusion that they are all a bit different, and it works well in this scene.

The remap nodes are used to adjust the cookie specular properties in the render, as mentioned in the Tray section.

 

![cookieNetwork.png](media://7a83200a-1ce5-4095-a83e-1deabe18e557)


## The Crumbs

A particle system is used to create the crumbs of the cookies. The material is simple, a matching brown color, and a very slight specular color on the edge.


---

### <span style="color: #4c9aff">Next Steps</span>

I bet you’re feeling hungry for more?  Good …. let’s move on to lighting!


---

![RenderManUniversity_logo_Small.png](media://2542ed66-7fef-4abc-8737-e462f8fb77d7)