Stylized Grass Shader Documentation

Stylized Grass Shader

Stylized Grass Shader
Author: jonathan
Version: 1.1.0
Dated: 31 Aug 2019

6.Blending with terrain colors #

The grass had the ability to seamlessly blend in with the underlying terrain’s color. This can also be seen in many AAA games nowadays. The following steps can be followed to set this up:


  • Select a GameObject (or create an empty one) and go to Add Component -> Stylized Grass -> Color Map Renderer

  • Assign your terrain GameObjects (these can also be mesh terrain tiles)
  • Set the size of the render area. Or choose to calculate it based on the total terrain size.
  • Click the Render button

In order for the color map to apply at runtime, this Color Map Renderer component must be present. Alternatively, you can save the color map asset and assign it to an active Stylized Grass Renderer component.

The grass shader has a “Colormap Strength” parameter. If this is set to 0, the color map will not be visible on the material.

Yes No Suggest edit
Last updated on June 27, 2020
2 of 3 users found this section helpful
Suggest Edit