Quant3D Posted October 30, 2017 Share Posted October 30, 2017 I’ve experienced a strange problem in Firefox where a BabylonJS program works fine at ≈60fps until suddenly this drops to ≈30fps. The app itself isn’t lagging. It seems to me that Firefox just decides, for whatever reason, to serve up the program at 30fps instead of 60fps. A couple questions: Is there any way to obtain what the browser and BabylonJS are targeting as a frame rate? This would help to narrow the source of the problem. If an app is graphics intensive, as opposed to script intensive, could it be better to base scene optimizations off of getLastFrameDuration() or getRenderDuration()? Quote Link to comment Share on other sites More sharing options...
RaananW Posted October 30, 2017 Share Posted October 30, 2017 Have you tried running a profiler? (The performance tab). It should show you if you have some idle time between frames and will help you better understand the situation. Seems odd that firefox suddenly decides to drop the FPS.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.