From cc9929544da3f993a46a4fafa471cbd214c97215 Mon Sep 17 00:00:00 2001 From: yum Date: Sat, 18 Nov 2023 19:00:05 -0800 Subject: Update README --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 064113c..7d87f27 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,20 @@ Then assign the shader you want (like yum\_food/parallax) to a material. Please ask setup questions [on the discord](https://discord.gg/YWmCvbCRyn). +## Grass (`yum_food/grass`) + +![Grass demo](Demos/grass_demo.PNG) + +A simple geometry shader that repeats a tile of grass 16 times and uses a noise texture to apply a wind effect on the geometry. + +Right now only the noise texture is configurable. + +Measured @ ~3.0 ms per frame at 4k + +TODO: add a mask to enable controlling where grass spawns. + +See `Shaders/grass/grass_10m_tile.prefab`. + ## Parallax (`yum_food/parallax`) ![Parallax demo](Demos/parallax_demo.gif) -- cgit v1.2.3