text: exports.id = 0;
  exports.modules = {
  
  /***/ 8:
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  function Ball(geo,mat,imgs,camera) {
  	
  	THREE.Mesh.call(this);
  	
  	this.geometry = new THREE.SphereGeometry(5,64,64);
  	
  	var vetexShader = [
  		"varying vec3 vNormal;",
  		
  		"void main() {",
  			"vNormal = normalMatrix * normal;",
  			"gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);",
  		"}"
  		
  	].join("\n");
  	
  	var fragmentShader = [
  		"uniform samplerCube mapCube;",
  		"varying vec3 vNormal;",
  		
  		"void main() {",
  			"gl_FragColor = textureCube(mapCube, reflect(normalize(-cameraPosition), normalize(vNormal)));",
  			//"gl_FragColor = vec4(1., 0.0, 0.0, 1.);",
  		"}"
   
  	].join("\n");
  	
  	this.material = new THREE.ShaderMaterial({
  		uniforms : {
  			mapCube: { type:"t", value: THREE.CubeTexture(imgs) },
  			cameraPosition : { type : 'v', value: camera.position}
  		},
  		vertexShader : vetexShader,
  		fragmentShader : fragmentShader
  	});
  	console.log(THREE.CubeTexture(imgs));
  }
  
  Ball.prototype = Object.create(THREE.Mesh.prototype);
  Ball.prototype.constructor = Ball;
  
  /* harmony default export */ __webpack_exports__["a"] = (Ball);
  
  
  /***/ })
  
  };