How do you reduce Vegetation Draw Calls?

0

I am using the vegetation painter and using the same vegetation pieces over and over again, about 16 pieces in total.

What I do not understand is, how come the engine uses multiple draw calls to keep drawing the same vegetation object as well as shadow objects? Aren't the objects instanced? The more vegetation I put down, even though it is the same 16 objects which should be instanced, the more draw calls the engine makes.

How do I reduce draw calls on instanced objects? Anyone know? There's obviously something here in terms of optimization I am overlooking.

Thanks.

asked 7 years ago176 views
3 Answers
0
Accepted Answer

Good morning!

I am one of the Technical Artists on the Lumberyard Support team. I was just looking through your post and wanted to try and assist!

When using vegetation they are all considered separate objects, unless you actually merge them! To get that draw call count down try using the "AutoMerged" parameter in the Vegetation menu. This will take all of the objects you painted in each stroke and merge them in to one object. I included some examples below:

Without "AutoMerged" On:

REMOVEDUPLOAD

With "AutoMerged" On:

REMOVEDUPLOAD

I hope this helps!

-MajorBliss

answered 7 years ago
0

Thank you! I did not know what auto-merge did so I did not use it. This helps out a lot.

answered 7 years ago
0

No problem, glad to help!

answered 7 years ago

This post is closed: Adding new answers, comments, and votes is disabled.