UnityGrassGeometryShader:基于几何着色器的Unity草地生成,支持阴影与密度控制

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

Branch2Tags0

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.

Introduction

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

Customize your domain
15856125Visit GitHub