Stylized Grass Shader Documentation

Stylized Grass Shader

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

8.Grass Shader #

The grass shader is what must be set on a material. In turn, the material can be applied to a grass mesh.


It features two primary shading modes. These are akin to the Simple Lit and Lit UniveralRP materials. You should choose either one, depending on the shading features you intend to use in your project.


  • Plain grass color
  • Per pixel color map


  • Lambert shading (same as Legacy/Unity 4 shaders)
  • Per pixel color map
  • Translucency
  • Lightmaps
  • Point and spot lights (per object)


  • Physically-based shading
  • Per pixel color map
  • Translucency
  • Lightmaps
  • Point and spot lights (per pixel/vertex)
  • Global Illumination
  • Environment reflections
  • Light Probes


The “Billboard” toggle will rotate the mesh towards the camera on the XZ axis. When using this, the mesh requires to use the “GrassBillboardQuad” mesh. This is essentially a quad with the pivot point at the bottom, and the top vertices vertex color (required for the animations to work). The “GrassBillboard” prefab is already set up with the correct mesh and a material with billboarding enabled.

Important to note: The prefabs should have a Y-rotation of 0. This is because the shader will rotate the mesh. If the prefabs have a random rotation, billboarding will not behave correctly.


Every parameter has a tooltip, if you’re unsure what a parameter is for, mouse over to view a description

Yes No Suggest edit
Last updated on January 20, 2021
1 of 1 users found this section helpful
Suggest Edit