/UnityGrassGeometryShader

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

Primary LanguageShaderLabThe UnlicenseUnlicense

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.