Forestry

I’ve been working on rendering forests for my terrain renderer. A problem with forests in large areas are the large amounts of draw calls required for all the trees. To make forests possible I had to add geometry instancing to the render system. Instancing allows you to draw many copies of an object with a single function call. Before using instancing I could only render a few hundred trees without impacting performance and after adding instancing I can draw over 30000 trees with barely any impact on rendering performance.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s