SiMaLaoShi / UnityTerrainGrass

Drop-in replacement terrain grass shaders for Unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please note: This repository is no longer maintained.

UnityTerrainGrass

Drop-in replacement terrain grass shaders for Unity.

Before and after:

Grass before and after.

These are super basic, just changing the default cutout shader to one with alpha transparency. Performance seems good.

How to use

Should work in Unity 4 and up, at least until they update the terrain system one day. Probably works in Unity 3 as well.

  • Make some built-in Unity terrain with grass.
  • Drop the two shaders from this repo anywhere in your Assets folder. They'll automatically override the hidden default ones.
  • Press the Refresh button on the grass placing screen.

Refresh button location.

About

Drop-in replacement terrain grass shaders for Unity

License:BSD 2-Clause "Simplified" License


Languages

Language:ShaderLab 100.0%