Instant Animated Grass

Hi there all you brainiacs.

Im working ona project which needs a realistic, fast and well trimmed lawn.

I searched for a shader for grass, but all i came across was unitys buit in clipmap plane kind of grass, until I stumbeld upon this:
http://www.cg.tuwien.ac.at/research/publications/2007/Habel_2007_IAG/

A grass shader depending on texture and uv modifications on a plane/ground by a couple of guys called Ralf Habel, Michael Wimmer and Stefan Jeschke.

Theres a PDF with the implementation to HLSV, unfortunatly im not to good at coding. Is it possible to rewright it so that it could be implemented in a shader in unity?

Thnx guys.

Hi,

Actually I’m currently working on that :slight_smile: Basically it’s not that hard, BUT…when you need wavy terrain + want to intersect objects vs. grass models (unity shaders don’t write into z-buffer) it’s real pain. So - stay tuned. I’m on the way to finish it (and possibly put into into asset store).

It’s done

http://forum.unity3d.com/threads/76748
http://forum.unity3d.com/threads/80987