[SOLVED] Will three.js *try* to render at 60fps by default using the WebGL renderer?

Basically, will it not go higher than 60 fps by default.

Assuming that you are using requestAnimationFrame, it will not go higher than the refresh rate of your monitor. If your monitor has a refresh rate of 240Hz, then your app may run at 240fps, but the same app on a 60Hz monitor will run at max 60fps.

3 Likes

Thank you for answering here. +1. Stackoverflow left a bad taste in my mouth.

Just out of curiousity, why?

Stackoverflow is not a welcoming place to beginners, I’m not surprised.

1 Like

I’ve asked just one question there, but before I did it, I’ve read, at least, about “How to ask”. Thus it wasn’t a problem for me to get the solving answer. :slight_smile:

2 Likes

What’s the right way to get higher fps than the monitor refresh rate?

What are you trying to achieve?

I want to know the maximum fps my computer can render even with a 60Hz monitor, like hardware benchmark from games like Quake.

You can try disabling vsync in your browser. There’s a guide here on how to do that:

https://cesium.com/blog/2014/12/01/webgl-profiling-tips/

I haven’t personally tried it, but that’s a good place to start.