I was getting a constant 60 FPS on my project until I added a
VideoTexture. Now I noticed that the framerate dropped down to 30FPS until I disable the visibility of that mesh with
mesh.visible=false and then the framerate jumps back to 60.
I started investigating with the examples section, and noticed that several
VideoTexture examples have low framerate:
For some reason, the Kinect demo does get 60 FPS! The only difference I noticed in that demo is that it uses
texture.minFilter = THREE.NearestFilter; but that didn’t have an effect when I changed it. I thought video dimensions would have an effect, but sintel.mp4 is 480x204 while kinect.mp4 is 474x490, so the larger video is getting better framerate.
Does anybody know what could be going on here? Why is the framerate affected so drastically, and is there anything that could be done about this?