Creating the grass material

We will now create the grass. In this case, we will use meshes instanced on the Ground mesh using a hair particle system.

Getting ready

To start, let's go to layer 5 where all our meshes that will be instanced are. It can be a good idea also to move the Sun to this layer temporarily, so that we are able to set up the materials with the final lighting. Let's select the Grass01 mesh and add a new material to it. We will call it GlassBlade01.

How to do it…

  1. In the Material node editor, add Glossy BSDF and a Mix Shader node.
  2. Mix Glossy BSDF with the default Diffuse and set the Fac to 25 percent Glossy and 75 percent Diffuse.
  3. Set the Glossy color to RGB 0.25, 0.3, 0.17 and the model to GGX.
  4. Add Texture Coordinate and an Image Texture ...

Get Blender Cycles: Lighting and Rendering Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.