Creating the VideoRecorder class creates a noticeable FPS drop
var recorder = new VideoRecorder(engine, { fps: 30, recordChunckSize: 3000, mimeType: “video/webm;codecs=h264” });
Then recorder.dispose() does not clear properly, and the FPS drop remains.
In fact, recorder.dispose() then creating another recorder stacks the FPS drops i.e. causing the FPS to drop more and more on each new recorder instantiation
The FPS tanks to 25 on my system and never recovers. If you don’t notice it because your system is more performance, could try changing i < 100 or something, maybe that’ll be quite evident
EDIT: WEIRD, if I open or resize the console debugger tools (F12), it goes back to 60 FPS?