s.gridTexture.value = gridTexture;
    }
    setTexture('images/uvgrid.jpg');

  	// the camera starts at 0,0,0 so pull it back
  	camera.position.z = 5;
    renderer.setSize(WIDTH, HEIGHT);

    function reset_camera() {
      var WIDTH = $('#display-area').width(),
    	    HEIGHT = $('#display-area').height();

      // We need to update the uniforms passed to the shader so it can later
      // compute the aspect ratio and maintain square pixels.
      uniforms.width.value = WIDTH;
      uniforms.height