title: Create a texture with data from a canvas three.js
body: <p>I am relatively new to Three.js and trying to create a texture from the data in another canvas. </p>
  
  <p>To be more specific - I intend to use Heatmap.js to obtain a heat map. The heat-map is returned in another canvas. I would then like to use this heatmap as a texture on my scene. </p>
  
  <p>Any ideas on how to go about doing this ? </p>
  
  <p>I tried to create the texture out of that canvas but getting a black texture. </p>