I\'m using three.js to create an interactive web application, and I\'ve run into a little stumbling block:
I have a number of canvases contained in draggable divs on
Unfortunately you can not (yet) share resources across canvases. A couple of options
Render the different viewports in different parts of the same canvas.
Example: http://webglsamples.org/multiple-views/multiple-views.html
Make a canvas that covers the entire window, use place holder elements to figure out where to draw, use getClientBoundingRect to set the viewport & scissor settings to draw scenes in each element
Example: Is it possible to enable unbounded number of renderers in THREE.js?
Render the scene to an offscreen canvas then draw it into a visible canvases.