title: Cannot load Uint8Array image by DataTexture?
body: <p>I'm using DataTexture to load Uint8Array Image (<a href="http://s000.tinyupload.com/index.php?file_id=94469549176842174266" rel="nofollow">download link</a>), here my code:</p>
  
  <pre><code>var map = new THREE.DataTexture( data, 128, 128, THREE.RGBFormat );
  map.needsUpdate = true;
  material.needsUpdate = true;
  material.map = map; 
  </code></pre>
  
  <p>But texture is black and receive these error:</p>
  
  <p>In Firefox:</p>
  
  <pre><code>Error: WebGL: texImage2D: not enough data for operation (need 49152, have 5210)
  Error: WebGL: generateMipmap: Level zero of texture is not defined.
  </code></pre>
  
  <p>In Chrome: </p>
  
  <pre><code>WebGL: INVALID_OPERATION: texImage2D: ArrayBufferView not big enough for request
  </code></pre>
  
  <p>Any advice to get this working?</p>
  
  <p>Thanks.</p>
  
  <p>(I have tried to convert Uint8Array Image to Data64 and load to diffuse map ok, but I don't want to use this way because I'm trying to hide texture from network tab in Chrome F12, using data64 will show the texture...)</p>