Three.js canvas.toDataURL sometimes blank
问题 I'm trying to render a THREE.js scene + some overlaid HTML elements using html2canvas.js. It works most times , but not all the time. In the failure cases, the HTML elements are rendered (the background, overlays, etc.) but nothing else. The THREE.js scene acts as if it's completely empty, even though it visibly has data in it. I can say that it usually fails for larger models, but only early into the rendering. It does eventually work in all cases, but the larger models take about 30 seconds