Skip to content

Source code for Grass Shader tutorial for Unity. Generates blades with a geometry shader, tessellates input mesh to control density.

License

Notifications You must be signed in to change notification settings

den-ver/UnityGrassGeometryShader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grass Geometry Shader for Unity

Unity 2018.3 project source for completed Grass Shader Tutorial from the site roystan.net.

alt text

Uses a geometry shader to generate blades of grass. Controls the density of the blades by tessellating the input mesh. Can cast and receive shadows.

Wood texture used on fence model is sourced from CCO Textures.

About

Source code for Grass Shader tutorial for Unity. Generates blades with a geometry shader, tessellates input mesh to control density.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • ShaderLab 83.6%
  • HLSL 16.4%