Sign in to follow this  

[D3D10.0] instancing : performances fall suddenly

Recommended Posts


When I add entities to be rendered with instancing, there is a kind of threshold under which I get high performances, but suddenly , after adding other entities , performances fall suddenly.
More clearly, for example :
1000 instances : 60 fps
1001 instances : 30 fps

The questions are :
-Why this sudden fall in performances ?
-What could I do to avoid this ?

Thanks in advance

Share this post

Link to post
Share on other sites
Are you syncing with the vertical retrace on present (passing 1 as the SyncInterval parameter to IDXGISwapChain::Present)? If so, your framerate will always be locked to a value evenly divisible into 60, and so you will immediately drop from 60 to 30 if your GPU can no longer render in 16.67ms.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this