Jump to content
  • Advertisement
Sign in to follow this  
Quat

Short Grass Rendering

This topic is 2820 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Most of the demos for grass I see use tall prairie looking grass. But the billboard techniques do not look good when viewed from a bird's eye. Since I want to render short grass (like a lawn) where if they player looks down it will sort of be a "bird's eye" view, I have doubts about the billboard approach. Does anyone have experience with this? Right now I am leaning towards a shell/fin system, but I would still like advice from anyone with experience in short grass rendering before starting.

Share this post


Link to post
Share on other sites
Advertisement
Besides billboards or using a massive amount of little polygons, you may want to look at
"Steep parallax mapping"
Which is nothing but improved parallax mapping. There is a screenshot with some test grass and a reference to a useful paper on my blog here:
http://tower22.blogspot.com/2010_06_01_archive.html

Notice that my implementation didn't use self-shadowing so far. You can improve the results by taking more samples, varying the grass blade length & colors with some noisy maps, and apply self-shadows. Besides grass, this shader can also be used for carpets or fur. You could also play around a little bit with the blur directions to simulate some wind.

Rick

Share this post


Link to post
Share on other sites
like in Samoths link, use 4-16 layered polygons on top of each other
with small offset. And to get better outlook make bottom ones darker.

some_text

/Tyrian

Share this post


Link to post
Share on other sites
I implemented much of Boulangers stuff with great results, but for really short grass I'd suggest googling for "fur shell rendering" which is kinda what Tyrian is showing, but done automatically.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!