GrassFlow is a highly interactive dense grass simulation shader that simulates every blade of grass.
Optimized for rendering millions of dynamic blades of
grass and being interacted with by players.
I don't mean to brag but uh, GrassFlow was nominated for best artistic tool 2019... Didn't win but, you know...
~Simple but strong editing tools to let you create grass the way you want and paint color and grass parameters for perfect artistic control right from the editor just like the Unity terrain tools. Even supports undo/redo!
~Supports grass texture atlas and you can paint density of individual textures to lay out your grass as you please.
~Can be attached to meshes or Unity terrain with terrain splat map support.
~Grass properties can be easily changed at runtime to allow for interactivity, ex: players can flatten grass by any means. Also includes a system of creating ripple effects for gently (or no so gently) pushing the grass around.
~Grass can have multiple segments and bend in the wind and by being pushed.
~URP version of the shader included.
~Deferred version of the shader included.
~Cast and receive shadows, supporting semi transparent textures.
~Baked 3D noise allows for dynamic and evolving wind effects.
~Bake an optimized version of your mesh with triangles only where you want grass.
~Dynamic LOD system that decreases grass in the distance while scaling it to fill in the gaps a bit and smoothly fading in-between the LOD steps.
~Burst job for culling many LOD chunks quickly.
~Supports multiple Unity lights.
~Versatile, can be used as a more traditional billboard renderer with enhanced features or used in any way you see fit.
~Custom inspector that makes it easy to edit all the settings you need and has descriptive tooltips for every option.
~Example scenes are provided that show how to set up and interface with GrassFlow. Even comes with a cute little hand painted house model, bonus!
~Source code available if you fancy.
• GrassFlow is intended for desktop hardware and thus requires some DX11 features or at least shader model 4.0.
• GrassFlow REQUIRES geometry shader support.
• All demo videos rendered with a GTX1070ti and i7-8700K.
• URP is supported, but not the older LWRP or HDRP.
Demo scene models and animation provided by my good friend, Richard Sööt.
Any questions about functionality don't hesitate to ask me!