Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Instanced Static Mesh Component Rendering Impact?

I have been working on a small project in which I have many objects that get spawned on another object procedurally with a seed, I have gotten everything working fine, but my question is why is my frame rate so bad when I have a lot of instances in an instanced static mesh compoent?

The meshes I am using are very low poly; around 25-35 polys, but when I use an instanced static mesh component and instanced many of them (like 5000) my frame rate plummets from 144 to around 50?

I thought the whole point of instanced static mesh components was that they only used a very small amount of draw calls yet a few thousand has a very large impact?

PS. The meshes do not have textures in their materials, they are just solid colours.

Product Version: Not Selected
more ▼

asked Feb 28 '15 at 04:19 PM in Rendering

avatar image

Oscar Cooke-Abbott
542 54 59 71

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Draw calls are not the holy grail of optimization. There is still a lot of other things you need to consider. In this case you are adding 150.000 polygons to the scene. So the vertex program still needs to go through all that data. There might be a lot of overdraw in your scene with these meshes, so the fragment program might have a ton of work on its hands as well.

Don't assume: less draw calls = better performance. Because it can even decrease your performance in some cases.

more ▼

answered Mar 01 '15 at 01:29 PM

avatar image

2.4k 69 42 141

avatar image Oscar Cooke-Abbott Mar 01 '15 at 08:46 PM

Yeah, but most triple a games have way more vertices and polygons than my little project and you can still get very hi frame rates in those compared to mine?

Thanks for replying.

avatar image Roel Mar 15 '15 at 10:01 AM

Maybe occlusion culling is not performed properly anymore? Did you build the entire scene with static lighting or are you using a lot of dynamic lights?

avatar image Oscar Cooke-Abbott Mar 15 '15 at 10:03 AM

I'm not able to use static lighting as my scene is set in space with planets orbiting a star. However there is only one dynamic light. :/

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question