node-3d
node-3d copied to clipboard
limit the FPS
How can I set a max FPS?
My guess would be to set vsync to true in window construction parameters. Or if that doesn't help, to generate frames "manually".
see https://github.com/node-3d/3d-core-raub#initopts--
- opts.vsync
- requestAnimationFrame
vsync is now enabled by default