This video demonstrates the vertex shader I made for grass in my 3D terrain api. It basically uses random motion on the top of the grass to simulate wind motion. I found the information at http://http.developer.nvidia.com/GPUGems/gpugems_ch07.html very useful in developing this. I expect my implementation runs a little faster that the similar technique described on that page because it doesn't require that I store the center axis of the grass object anywhere.
Link to this comment:
All Comments (0)