var THREEx=THREEx||{};THREEx.createSkymap=function(e){e=e||{},"string"==typeof e&&(e={textureCube:THREEx.createTextureCube(e)});var r=e.textureCube||void 0,t=e.cubeW||500,E=e.cubeH||500,a=e.cubeD||500,u=THREE.ShaderLib.cube,n=THREE.UniformsUtils.clone(u.uniforms);n.tCube.value=r;var i=new THREE.ShaderMaterial({fragmentShader:u.fragmentShader,vertexShader:u.vertexShader,uniforms:n,depthWrite:!1,side:THREE.BackSide}),H=new THREE.CubeGeometry(t,E,a),T=new THREE.Mesh(H,i);return T};