I’m posting this issue and my solution in case anyone else has the same problem.
I’ve been using a version of the
screenshot.js from this tutorial.
It has worked just fine in several projects but I have one project where after taking a screen shot, the scene will stop rendering. The problem seems to be
gl.bindFramebuffer(gl.FRAMEBUFFER, fb); Adding a
gl.deleteFramebuffer(fb); line after the frame buffer is no longer needed fixed the issue for me.
I’m not sure what is different about my current project that caused the issue or really why the issue doesn’t show up in other projects that use this but I thought I would share this solution.