Jump to content

Wrong FPS


Tableuraz
 Share

Recommended Posts

Hi,

I am having an issue with latest version of BabylonJS (beta version), when loading a page with clean cache the FPS displayed by getFPS stays at 60 fps during 58 frames (seems a constant), meaning that the sceneOptimizers can't get triggered if the FPS is too low (timer gets to 0 before being able to run the optimizer).

Link to comment
Share on other sites

The temporary workaround for this issue is to count the first frames and wait until 58 frames were rendered and THEN apply optimizers, that or measure FPS yourself with framerate estimation based on the time elapsed since last frame. (less precise but allows to measure FPS as soon as 2 frames were rendered)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...