title: Three.js texture loading fail
body: <p>I am working to an animation with three.js I am triyng to rotate 2 spheres at the center of the screen, the firstone contains the second one (they have the same coords but one i a little bigger). I am trying to simulate a realistic earth globe with atmosphere.</p>
  
  <p>I started with the three.js earth globe example adding the atmosphere <a href="http://www.gioblu.com/GiO/web/solarsystem/index_old" rel="nofollow">http://www.gioblu.com/GiO/web/solarsystem/index_old</a></p>
  
  <p>After that i wrote everything from scratch to have a framework to render many planets, and their atmospheres..</p>
  
  <p><a href="http://www.gioblu.com/GiO/web/solarsystem/index_backup" rel="nofollow">http://www.gioblu.com/GiO/web/solarsystem/index_backup</a>
  But, as you can see, there is a bug in my code that avoid the correct texture loading. 
  Looking inside material object, seems all to be there inside. I think I am adding the items in the scene before the texture is loaded. But i can't find a way to edit the code to let it work..</p>
  
  <p>I hope in a good answer ;)</p>