Robustly support WebGL context losses
Sometimes, WebGL context can be lost and must be rebuilt. Built-in THREE.js objects and textures should automatically be rebuilt in case of a context loss. However this might not be the case for more complex scenarios, including the use of render targets.
Edited by Sébastien Guimmara