After performing a recent system upgrade, I noticed some issues with Chromium. One of them was a delay in loading my Three.js r85 project, which was resolved after upgrading to Three.js r90.
However, I encountered a new problem with toDataUrl() not working, even with the latest version of Three.js. Here is a CodePen by Shiva Saxena that functions well in Firefox but not in Chromium:
renderer = new THREE.WebGLRenderer({ preserveDrawingBuffer: true });
I also attempted an alternative method without setting preserveDrawingBuffer to true and calling toDataUrl() right after rendering the scene, but it failed as well.
renderer.render( scene, camera );
var screenshot = renderer.domElement.toDataURL();
Is anyone else facing this issue? Are there other ways to render a texture onto an image without using toDataUrl()?
Chromium Version 65.0.3325.146 (Developer Build) (64-bit)