From 9debc2cef2b8eb054b4fef8eb5c2717236ae37e4 Mon Sep 17 00:00:00 2001 From: Mike Nisbet Date: Sun, 13 Jun 2021 20:46:34 +0100 Subject: [PATCH] version bump --- dist/icosa-viewer.js | 8 ++++++++ dist/icosa-viewer.min.js | 2 +- dist/icosa-viewer.module.js | 8 ++++++++ package.json | 2 +- 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/dist/icosa-viewer.js b/dist/icosa-viewer.js index 4fae8cd..d48b7bc 100644 --- a/dist/icosa-viewer.js +++ b/dist/icosa-viewer.js @@ -44770,6 +44770,10 @@ } }; http.open("GET", url, true); + var loggedInUser = JSON.parse(localStorage.getItem("user")); + if (loggedInUser) { + http.setRequestHeader("Authorization", loggedInUser.token_type + " " + loggedInUser.token); + } http.send(); }; Loader.prototype.loadIcosaUrl = function (url, format) { @@ -44828,6 +44832,10 @@ } }; http.open("GET", url, true); + var loggedInUser = JSON.parse(localStorage.getItem("user")); + if (loggedInUser) { + http.setRequestHeader("Authorization", loggedInUser.token_type + " " + loggedInUser.token); + } http.send(); }; Loader.prototype.loadPolyUrl = function (url, format) { diff --git a/dist/icosa-viewer.min.js b/dist/icosa-viewer.min.js index d1c12fd..c74dec7 100644 --- a/dist/icosa-viewer.min.js +++ b/dist/icosa-viewer.min.js @@ -49,7 +49,7 @@ Licensed under MIT. https://github.com/101arrowz/fflate/blob/master/LICENSE version 0.6.9 - */var durl=function(c){return URL.createObjectURL(new Blob([c],{type:"text/javascript"}))};try{URL.revokeObjectURL(durl(""))}catch(e){durl=function(c){return"data:application/javascript;charset=UTF-8,"+encodeURI(c)}}var u8=Uint8Array,u16=Uint16Array,u32=Uint32Array;var fleb=new u8([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]);var fdeb=new u8([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]);var clim=new u8([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);var freb=function(eb,start){var b=new u16(31);for(var i=0;i<31;++i){b[i]=start+=1<>>1|(i&21845)<<1;x=(x&52428)>>>2|(x&13107)<<2;x=(x&61680)>>>4|(x&3855)<<4;rev[i]=((x&65280)>>>8|(x&255)<<8)>>>1}var hMap=function(cd,mb,r){var s=cd.length;var i=0;var l=new u16(mb);for(;i>>rvb]=sv}}}}else{co=new u16(s);for(i=0;i>>15-cd[i]}}}return co};var flt=new u8(288);for(var i=0;i<144;++i)flt[i]=8;for(var i=144;i<256;++i)flt[i]=9;for(var i=256;i<280;++i)flt[i]=7;for(var i=280;i<288;++i)flt[i]=8;var fdt=new u8(32);for(var i=0;i<32;++i)fdt[i]=5;var flrm=hMap(flt,9,1);var fdrm=hMap(fdt,5,1);var max=function(a){var m=a[0];for(var i=1;im)m=a[i]}return m};var bits=function(d,p,m){var o=p/8|0;return(d[o]|d[o+1]<<8)>>(p&7)&m};var bits16=function(d,p){var o=p/8|0;return(d[o]|d[o+1]<<8|d[o+2]<<16)>>(p&7)};var shft=function(p){return(p/8|0)+(p&7&&1)};var slc=function(v,s,e){if(s==null||s<0)s=0;if(e==null||e>v.length)e=v.length;var n=new(v instanceof u16?u16:v instanceof u32?u32:u8)(e-s);n.set(v.subarray(s,e));return n};var inflt=function(dat,buf,st){var sl=dat.length;if(!sl||st&&!st.l&&sl<5)return buf||new u8(0);var noBuf=!buf||st;var noSt=!st||st.i;if(!st)st={};if(!buf)buf=new u8(sl*3);var cbuf=function(l){var bl=buf.length;if(l>bl){var nbuf=new u8(Math.max(bl*2,l));nbuf.set(buf);buf=nbuf}};var final=st.f||0,pos=st.p||0,bt=st.b||0,lm=st.l,dm=st.d,lbt=st.m,dbt=st.n;var tbts=sl*8;do{if(!lm){st.f=final=bits(dat,pos,1);var type=bits(dat,pos+1,3);pos+=3;if(!type){var s=shft(pos)+4,l=dat[s-4]|dat[s-3]<<8,t=s+l;if(t>sl){if(noSt)throw"unexpected EOF";break}if(noBuf)cbuf(bt+l);buf.set(dat.subarray(s,t),bt);st.b=bt+=l,st.p=pos=t*8;continue}else if(type==1)lm=flrm,dm=fdrm,lbt=9,dbt=5;else if(type==2){var hLit=bits(dat,pos,31)+257,hcLen=bits(dat,pos+10,15)+4;var tl=hLit+bits(dat,pos+5,31)+1;pos+=14;var ldt=new u8(tl);var clt=new u8(19);for(var i=0;i>>4;if(s<16){ldt[i++]=s}else{var c=0,n=0;if(s==16)n=3+bits(dat,pos,3),pos+=2,c=ldt[i-1];else if(s==17)n=3+bits(dat,pos,7),pos+=3;else if(s==18)n=11+bits(dat,pos,127),pos+=7;while(n--)ldt[i++]=c}}var lt=ldt.subarray(0,hLit),dt=ldt.subarray(hLit);lbt=max(lt);dbt=max(dt);lm=hMap(lt,lbt,1);dm=hMap(dt,dbt,1)}else throw"invalid block type";if(pos>tbts){if(noSt)throw"unexpected EOF";break}}if(noBuf)cbuf(bt+131072);var lms=(1<>>4;pos+=c&15;if(pos>tbts){if(noSt)throw"unexpected EOF";break}if(!c)throw"invalid length/literal";if(sym<256)buf[bt++]=sym;else if(sym==256){lpos=pos,lm=null;break}else{var add=sym-254;if(sym>264){var i=sym-257,b=fleb[i];add=bits(dat,pos,(1<>>4;if(!d)throw"invalid distance";pos+=d&15;var dt=fd[dsym];if(dsym>3){var b=fdeb[dsym];dt+=bits16(dat,pos)&(1<tbts){if(noSt)throw"unexpected EOF";break}if(noBuf)cbuf(bt+131072);var end=bt+add;for(;bt>>0};var b8=function(d,b){return b4(d,b)+b4(d,b+4)*4294967296};function inflateSync(data,out){return inflt(data,out)}var td=typeof TextDecoder!="undefined"&&new TextDecoder;var tds=0;try{td.decode(et,{stream:true});tds=1}catch(e){}var dutf8=function(d){for(var r="",i=0;;){var c=d[i++];var eb=(c>127)+(c>223)+(c>239);if(i+eb>d.length)return[r,slc(d,i-1)];if(!eb)r+=String.fromCharCode(c);else if(eb==3){c=((c&15)<<18|(d[i++]&63)<<12|(d[i++]&63)<<6|d[i++]&63)-65536,r+=String.fromCharCode(55296|c>>10,56320|c&1023)}else if(eb&1)r+=String.fromCharCode((c&31)<<6|d[i++]&63);else r+=String.fromCharCode((c&15)<<12|(d[i++]&63)<<6|d[i++]&63)}};function strFromU8(dat,latin1){if(latin1){var r="";for(var i=0;i65558)throw"invalid zip file"}var c=b2(data,e+8);if(!c)return{};var o=b4(data,e+16);var z=o==4294967295;if(z){e=b4(data,e-12);if(b4(data,e)!=101075792)throw"invalid zip file";c=b4(data,e+32);o=b4(data,e+48)}for(var i=0;i0)offset_stroke_mask+=4;if((controlpoint_mask&byte)>0)offset_controlpoint_mask+=4}offset=offset+28+offset_stroke_mask+4;const num_control_points=data.getInt32(offset,true);const positions=new Float32Array(num_control_points*3);const quaternions=new Float32Array(num_control_points*4);offset=offset+4;for(let j=0,k=0;j=0){extensions[EXTENSIONS$1.KHR_MATERIALS_COMMON]=new GLTFMaterialsCommonExtension(json)}var parser=new GLTFParser$1(json,extensions,{crossOrigin:this.crossOrigin,manager:this.manager,path:path||this.resourcePath||""});parser.parse((function(scene,scenes,cameras,animations){var glTF={scene:scene,scenes:scenes,cameras:cameras,animations:animations};callback(glTF)}))}}function GLTFRegistry$1(){var objects={};return{get:function(key){return objects[key]},add:function(key,object){objects[key]=object},remove:function(key){delete objects[key]},removeAll:function(){objects={}},update:function(scene,camera){for(var name in objects){var object=objects[name];if(object.update){object.update(scene,camera)}}}}}class GLTFShader{constructor(targetNode,allNodes){var boundUniforms={};var uniforms=targetNode.material.uniforms;for(var uniformId in uniforms){var uniform=uniforms[uniformId];if(uniform.semantic){var sourceNodeRef=uniform.node;var sourceNode=targetNode;if(sourceNodeRef){sourceNode=allNodes[sourceNodeRef]}boundUniforms[uniformId]={semantic:uniform.semantic,sourceNode:sourceNode,targetNode:targetNode,uniform:uniform}}}this.boundUniforms=boundUniforms;this._m4=new Matrix4}update(scene,camera){var boundUniforms=this.boundUniforms;for(var name in boundUniforms){var boundUniform=boundUniforms[name];switch(boundUniform.semantic){case"MODELVIEW":var m4=boundUniform.uniform.value;m4.multiplyMatrices(camera.matrixWorldInverse,boundUniform.sourceNode.matrixWorld);break;case"MODELVIEWINVERSETRANSPOSE":var m3=boundUniform.uniform.value;this._m4.multiplyMatrices(camera.matrixWorldInverse,boundUniform.sourceNode.matrixWorld);m3.getNormalMatrix(this._m4);break;case"PROJECTION":var m4=boundUniform.uniform.value;m4.copy(camera.projectionMatrix);break;case"JOINTMATRIX":var m4v=boundUniform.uniform.value;for(var mi=0;mi=2.0 are supported."));return}const parser=new GLTFParser(json,{path:path||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});parser.fileLoader.setRequestHeader(this.requestHeader);for(let i=0;i=0&&plugins[extensionName]===undefined){console.warn('THREE.GLTFLoader: Unknown extension "'+extensionName+'".')}}}}parser.setExtensions(extensions);parser.setPlugins(plugins);parser.parse(onLoad,onError)}}function GLTFRegistry(){let objects={};return{get:function(key){return objects[key]},add:function(key,object){objects[key]=object},remove:function(key){delete objects[key]},removeAll:function(){objects={}}}}const EXTENSIONS={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS_PUNCTUAL:"KHR_lights_punctual",KHR_MATERIALS_CLEARCOAT:"KHR_materials_clearcoat",KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS:"KHR_materials_pbrSpecularGlossiness",KHR_MATERIALS_TRANSMISSION:"KHR_materials_transmission",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",KHR_TEXTURE_BASISU:"KHR_texture_basisu",KHR_TEXTURE_TRANSFORM:"KHR_texture_transform",KHR_MESH_QUANTIZATION:"KHR_mesh_quantization",EXT_TEXTURE_WEBP:"EXT_texture_webp",EXT_MESHOPT_COMPRESSION:"EXT_meshopt_compression"};class GLTFLightsExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_LIGHTS_PUNCTUAL;this.cache={refs:{},uses:{}}}_markDefs(){const parser=this.parser;const nodeDefs=this.parser.json.nodes||[];for(let nodeIndex=0,nodeLength=nodeDefs.length;nodeIndex=0){throw new Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures")}else{return null}}return parser.loadTextureImage(textureIndex,source,loader)}}class GLTFTextureWebPExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.EXT_TEXTURE_WEBP;this.isSupported=null}loadTexture(textureIndex){const name=this.name;const parser=this.parser;const json=parser.json;const textureDef=json.textures[textureIndex];if(!textureDef.extensions||!textureDef.extensions[name]){return null}const extension=textureDef.extensions[name];const source=json.images[extension.source];let loader=parser.textureLoader;if(source.uri){const handler=parser.options.manager.getHandler(source.uri);if(handler!==null)loader=handler}return this.detectSupport().then((function(isSupported){if(isSupported)return parser.loadTextureImage(textureIndex,source,loader);if(json.extensionsRequired&&json.extensionsRequired.indexOf(name)>=0){throw new Error("THREE.GLTFLoader: WebP required by asset but unsupported.")}return parser.loadTexture(textureIndex)}))}detectSupport(){if(!this.isSupported){this.isSupported=new Promise((function(resolve){const image=new Image;image.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA";image.onload=image.onerror=function(){resolve(image.height===1)}}))}return this.isSupported}}class GLTFMeshoptCompression{constructor(parser){this.name=EXTENSIONS.EXT_MESHOPT_COMPRESSION;this.parser=parser}loadBufferView(index){const json=this.parser.json;const bufferView=json.bufferViews[index];if(bufferView.extensions&&bufferView.extensions[this.name]){const extensionDef=bufferView.extensions[this.name];const buffer=this.parser.getDependency("buffer",extensionDef.buffer);const decoder=this.parser.options.meshoptDecoder;if(!decoder||!decoder.supported){if(json.extensionsRequired&&json.extensionsRequired.indexOf(this.name)>=0){throw new Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files")}else{return null}}return Promise.all([buffer,decoder.ready]).then((function(res){const byteOffset=extensionDef.byteOffset||0;const byteLength=extensionDef.byteLength||0;const count=extensionDef.count;const stride=extensionDef.byteStride;const result=new ArrayBuffer(count*stride);const source=new Uint8Array(res[0],byteOffset,byteLength);decoder.decodeGltfBuffer(new Uint8Array(result),count,stride,source,extensionDef.mode,extensionDef.filter);return result}))}else{return null}}}const BINARY_EXTENSION_HEADER_MAGIC="glTF";const BINARY_EXTENSION_HEADER_LENGTH=12;const BINARY_EXTENSION_CHUNK_TYPES={JSON:1313821514,BIN:5130562};class GLTFBinaryExtension{constructor(data){this.name=EXTENSIONS.KHR_BINARY_GLTF;this.content=null;this.body=null;const headerView=new DataView(data,0,BINARY_EXTENSION_HEADER_LENGTH);this.header={magic:LoaderUtils.decodeText(new Uint8Array(data.slice(0,4))),version:headerView.getUint32(4,true),length:headerView.getUint32(8,true)};if(this.header.magic!==BINARY_EXTENSION_HEADER_MAGIC){throw new Error("THREE.GLTFLoader: Unsupported glTF-Binary header.")}else if(this.header.version<2){throw new Error("THREE.GLTFLoader: Legacy binary file detected.")}const chunkContentsLength=this.header.length-BINARY_EXTENSION_HEADER_LENGTH;const chunkView=new DataView(data,BINARY_EXTENSION_HEADER_LENGTH);let chunkIndex=0;while(chunkIndex",specularMapParsFragmentChunk).replace("#include ",glossinessMapParsFragmentChunk).replace("#include ",specularMapFragmentChunk).replace("#include ",glossinessMapFragmentChunk).replace("#include ",lightPhysicalFragmentChunk)};Object.defineProperties(this,{specular:{get:function(){return uniforms.specular.value},set:function(v){uniforms.specular.value=v}},specularMap:{get:function(){return uniforms.specularMap.value},set:function(v){uniforms.specularMap.value=v;if(v){this.defines.USE_SPECULARMAP=""}else{delete this.defines.USE_SPECULARMAP}}},glossiness:{get:function(){return uniforms.glossiness.value},set:function(v){uniforms.glossiness.value=v}},glossinessMap:{get:function(){return uniforms.glossinessMap.value},set:function(v){uniforms.glossinessMap.value=v;if(v){this.defines.USE_GLOSSINESSMAP="";this.defines.USE_UV=""}else{delete this.defines.USE_GLOSSINESSMAP;delete this.defines.USE_UV}}}});delete this.metalness;delete this.roughness;delete this.metalnessMap;delete this.roughnessMap;this.setValues(params)}copy(source){super.copy(source);this.specularMap=source.specularMap;this.specular.copy(source.specular);this.glossinessMap=source.glossinessMap;this.glossiness=source.glossiness;delete this.metalness;delete this.roughness;delete this.metalnessMap;delete this.roughnessMap;return this}}class GLTFMaterialsPbrSpecularGlossinessExtension{constructor(){this.name=EXTENSIONS.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS;this.specularGlossinessParams=["color","map","lightMap","lightMapIntensity","aoMap","aoMapIntensity","emissive","emissiveIntensity","emissiveMap","bumpMap","bumpScale","normalMap","normalMapType","displacementMap","displacementScale","displacementBias","specularMap","specular","glossinessMap","glossiness","alphaMap","envMap","envMapIntensity","refractionRatio"]}getMaterialType(){return GLTFMeshStandardSGMaterial}extendParams(materialParams,materialDef,parser){const pbrSpecularGlossiness=materialDef.extensions[this.name];materialParams.color=new Color(1,1,1);materialParams.opacity=1;const pending=[];if(Array.isArray(pbrSpecularGlossiness.diffuseFactor)){const array=pbrSpecularGlossiness.diffuseFactor;materialParams.color.fromArray(array);materialParams.opacity=array[3]}if(pbrSpecularGlossiness.diffuseTexture!==undefined){pending.push(parser.assignTexture(materialParams,"map",pbrSpecularGlossiness.diffuseTexture))}materialParams.emissive=new Color(0,0,0);materialParams.glossiness=pbrSpecularGlossiness.glossinessFactor!==undefined?pbrSpecularGlossiness.glossinessFactor:1;materialParams.specular=new Color(1,1,1);if(Array.isArray(pbrSpecularGlossiness.specularFactor)){materialParams.specular.fromArray(pbrSpecularGlossiness.specularFactor)}if(pbrSpecularGlossiness.specularGlossinessTexture!==undefined){const specGlossMapDef=pbrSpecularGlossiness.specularGlossinessTexture;pending.push(parser.assignTexture(materialParams,"glossinessMap",specGlossMapDef));pending.push(parser.assignTexture(materialParams,"specularMap",specGlossMapDef))}return Promise.all(pending)}createMaterial(materialParams){const material=new GLTFMeshStandardSGMaterial(materialParams);material.fog=true;material.color=materialParams.color;material.map=materialParams.map===undefined?null:materialParams.map;material.lightMap=null;material.lightMapIntensity=1;material.aoMap=materialParams.aoMap===undefined?null:materialParams.aoMap;material.aoMapIntensity=1;material.emissive=materialParams.emissive;material.emissiveIntensity=1;material.emissiveMap=materialParams.emissiveMap===undefined?null:materialParams.emissiveMap;material.bumpMap=materialParams.bumpMap===undefined?null:materialParams.bumpMap;material.bumpScale=1;material.normalMap=materialParams.normalMap===undefined?null:materialParams.normalMap;material.normalMapType=TangentSpaceNormalMap;if(materialParams.normalScale)material.normalScale=materialParams.normalScale;material.displacementMap=null;material.displacementScale=1;material.displacementBias=0;material.specularMap=materialParams.specularMap===undefined?null:materialParams.specularMap;material.specular=materialParams.specular;material.glossinessMap=materialParams.glossinessMap===undefined?null:materialParams.glossinessMap;material.glossiness=materialParams.glossiness;material.alphaMap=null;material.envMap=materialParams.envMap===undefined?null:materialParams.envMap;material.envMapIntensity=1;material.refractionRatio=.98;return material}}class GLTFMeshQuantizationExtension{constructor(){this.name=EXTENSIONS.KHR_MESH_QUANTIZATION}}class GLTFCubicSplineInterpolant extends Interpolant{constructor(parameterPositions,sampleValues,sampleSize,resultBuffer){super(parameterPositions,sampleValues,sampleSize,resultBuffer)}copySampleValue_(index){const result=this.resultBuffer,values=this.sampleValues,valueSize=this.valueSize,offset=index*valueSize*3+valueSize;for(let i=0;i!==valueSize;i++){result[i]=values[offset+i]}return result}}GLTFCubicSplineInterpolant.prototype.beforeStart_=GLTFCubicSplineInterpolant.prototype.copySampleValue_;GLTFCubicSplineInterpolant.prototype.afterEnd_=GLTFCubicSplineInterpolant.prototype.copySampleValue_;GLTFCubicSplineInterpolant.prototype.interpolate_=function(i1,t0,t,t1){const result=this.resultBuffer;const values=this.sampleValues;const stride=this.valueSize;const stride2=stride*2;const stride3=stride*3;const td=t1-t0;const p=(t-t0)/td;const pp=p*p;const ppp=pp*p;const offset1=i1*stride3;const offset0=offset1-stride3;const s2=-2*ppp+3*pp;const s3=ppp-pp;const s0=1-s2;const s1=s3-pp+p;for(let i=0;i!==stride;i++){const p0=values[offset0+i+stride];const m0=values[offset0+i+stride2]*td;const p1=values[offset1+i+stride];const m1=values[offset1+i]*td;result[i]=s0*p0+s1*m0+s2*p1+s3*m1}return result};const WEBGL_CONSTANTS={FLOAT:5126,FLOAT_MAT3:35675,FLOAT_MAT4:35676,FLOAT_VEC2:35664,FLOAT_VEC3:35665,FLOAT_VEC4:35666,LINEAR:9729,REPEAT:10497,SAMPLER_2D:35678,POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6,UNSIGNED_BYTE:5121,UNSIGNED_SHORT:5123};const WEBGL_COMPONENT_TYPES={5120:Int8Array,5121:Uint8Array,5122:Int16Array,5123:Uint16Array,5125:Uint32Array,5126:Float32Array};const WEBGL_FILTERS={9728:NearestFilter,9729:LinearFilter,9984:NearestMipmapNearestFilter,9985:LinearMipmapNearestFilter,9986:NearestMipmapLinearFilter,9987:LinearMipmapLinearFilter};const WEBGL_WRAPPINGS={33071:ClampToEdgeWrapping,33648:MirroredRepeatWrapping,10497:RepeatWrapping};const WEBGL_TYPE_SIZES={SCALAR:1,VEC2:2,VEC3:3,VEC4:4,MAT2:4,MAT3:9,MAT4:16};const ATTRIBUTES={POSITION:"position",NORMAL:"normal",TANGENT:"tangent",TEXCOORD_0:"uv",TEXCOORD_1:"uv2",COLOR_0:"color",WEIGHTS_0:"skinWeight",JOINTS_0:"skinIndex"};const PATH_PROPERTIES={scale:"scale",translation:"position",rotation:"quaternion",weights:"morphTargetInfluences"};const INTERPOLATION={CUBICSPLINE:undefined,LINEAR:InterpolateLinear,STEP:InterpolateDiscrete};const ALPHA_MODES={OPAQUE:"OPAQUE",MASK:"MASK",BLEND:"BLEND"};function resolveURL(url,path){if(typeof url!=="string"||url==="")return"";if(/^https?:\/\//i.test(path)&&/^\//.test(url)){path=path.replace(/(^https?:\/\/[^\/]+).*/i,"$1")}if(/^(https?:)?\/\//i.test(url))return url;if(/^data:.*,.*$/i.test(url))return url;if(/^blob:.*$/i.test(url))return url;return path+url}function createDefaultMaterial(cache){if(cache["DefaultMaterial"]===undefined){cache["DefaultMaterial"]=new MeshStandardMaterial({color:16777215,emissive:0,metalness:1,roughness:1,transparent:false,depthTest:true,side:FrontSide})}return cache["DefaultMaterial"]}function addUnknownExtensionsToUserData(knownExtensions,object,objectDef){for(const name in objectDef.extensions){if(knownExtensions[name]===undefined){object.userData.gltfExtensions=object.userData.gltfExtensions||{};object.userData.gltfExtensions[name]=objectDef.extensions[name]}}}function assignExtrasToUserData(object,gltfDef){if(gltfDef.extras!==undefined){if(typeof gltfDef.extras==="object"){Object.assign(object.userData,gltfDef.extras)}else{console.warn("THREE.GLTFLoader: Ignoring primitive type .extras, "+gltfDef.extras)}}}function addMorphTargets(geometry,targets,parser){let hasMorphPosition=false;let hasMorphNormal=false;for(let i=0,il=targets.length;i=2)bufferAttribute.setY(index,sparseValues[i*itemSize+1]);if(itemSize>=3)bufferAttribute.setZ(index,sparseValues[i*itemSize+2]);if(itemSize>=4)bufferAttribute.setW(index,sparseValues[i*itemSize+3]);if(itemSize>=5)throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}}return bufferAttribute}))}loadTexture(textureIndex){const json=this.json;const options=this.options;const textureDef=json.textures[textureIndex];const source=json.images[textureDef.source];let loader=this.textureLoader;if(source.uri){const handler=options.manager.getHandler(source.uri);if(handler!==null)loader=handler}return this.loadTextureImage(textureIndex,source,loader)}loadTextureImage(textureIndex,source,loader){const parser=this;const json=this.json;const options=this.options;const textureDef=json.textures[textureIndex];const URL=self.URL||self.webkitURL;let sourceURI=source.uri;let isObjectURL=false;let hasAlpha=true;if(source.mimeType==="image/jpeg")hasAlpha=false;if(source.bufferView!==undefined){sourceURI=parser.getDependency("bufferView",source.bufferView).then((function(bufferView){if(source.mimeType==="image/png"){const colorType=new DataView(bufferView,25,1).getUint8(0,false);hasAlpha=colorType===6||colorType===4||colorType===3}isObjectURL=true;const blob=new Blob([bufferView],{type:source.mimeType});sourceURI=URL.createObjectURL(blob);return sourceURI}))}else if(source.uri===undefined){throw new Error("THREE.GLTFLoader: Image "+textureIndex+" is missing URI and bufferView")}return Promise.resolve(sourceURI).then((function(sourceURI){return new Promise((function(resolve,reject){let onLoad=resolve;if(loader.isImageBitmapLoader===true){onLoad=function(imageBitmap){resolve(new CanvasTexture(imageBitmap))}}loader.load(resolveURL(sourceURI,options.path),onLoad,undefined,reject)}))})).then((function(texture){if(isObjectURL===true){URL.revokeObjectURL(sourceURI)}texture.flipY=false;if(textureDef.name)texture.name=textureDef.name;if(!hasAlpha)texture.format=RGBFormat;const samplers=json.samplers||{};const sampler=samplers[textureDef.sampler]||{};texture.magFilter=WEBGL_FILTERS[sampler.magFilter]||LinearFilter;texture.minFilter=WEBGL_FILTERS[sampler.minFilter]||LinearMipmapLinearFilter;texture.wrapS=WEBGL_WRAPPINGS[sampler.wrapS]||RepeatWrapping;texture.wrapT=WEBGL_WRAPPINGS[sampler.wrapT]||RepeatWrapping;parser.associations.set(texture,{type:"textures",index:textureIndex});return texture}))}assignTexture(materialParams,mapName,mapDef){const parser=this;return this.getDependency("texture",mapDef.index).then((function(texture){if(mapDef.texCoord!==undefined&&mapDef.texCoord!=0&&!(mapName==="aoMap"&&mapDef.texCoord==1)){console.warn("THREE.GLTFLoader: Custom UV set "+mapDef.texCoord+" for texture "+mapName+" not yet supported.")}if(parser.extensions[EXTENSIONS.KHR_TEXTURE_TRANSFORM]){const transform=mapDef.extensions!==undefined?mapDef.extensions[EXTENSIONS.KHR_TEXTURE_TRANSFORM]:undefined;if(transform){const gltfReference=parser.associations.get(texture);texture=parser.extensions[EXTENSIONS.KHR_TEXTURE_TRANSFORM].extendTexture(texture,transform);parser.associations.set(texture,gltfReference)}}materialParams[mapName]=texture}))}assignFinalMaterial(mesh){const geometry=mesh.geometry;let material=mesh.material;const useVertexTangents=geometry.attributes.tangent!==undefined;const useVertexColors=geometry.attributes.color!==undefined;const useFlatShading=geometry.attributes.normal===undefined;const useSkinning=mesh.isSkinnedMesh===true;const useMorphTargets=Object.keys(geometry.morphAttributes).length>0;const useMorphNormals=useMorphTargets&&geometry.morphAttributes.normal!==undefined;if(mesh.isPoints){const cacheKey="PointsMaterial:"+material.uuid;let pointsMaterial=this.cache.get(cacheKey);if(!pointsMaterial){pointsMaterial=new PointsMaterial;Material.prototype.copy.call(pointsMaterial,material);pointsMaterial.color.copy(material.color);pointsMaterial.map=material.map;pointsMaterial.sizeAttenuation=false;this.cache.add(cacheKey,pointsMaterial)}material=pointsMaterial}else if(mesh.isLine){const cacheKey="LineBasicMaterial:"+material.uuid;let lineMaterial=this.cache.get(cacheKey);if(!lineMaterial){lineMaterial=new LineBasicMaterial;Material.prototype.copy.call(lineMaterial,material);lineMaterial.color.copy(material.color);this.cache.add(cacheKey,lineMaterial)}material=lineMaterial}if(useVertexTangents||useVertexColors||useFlatShading||useSkinning||useMorphTargets){let cacheKey="ClonedMaterial:"+material.uuid+":";if(material.isGLTFSpecularGlossinessMaterial)cacheKey+="specular-glossiness:";if(useSkinning)cacheKey+="skinning:";if(useVertexTangents)cacheKey+="vertex-tangents:";if(useVertexColors)cacheKey+="vertex-colors:";if(useFlatShading)cacheKey+="flat-shading:";if(useMorphTargets)cacheKey+="morph-targets:";if(useMorphNormals)cacheKey+="morph-normals:";let cachedMaterial=this.cache.get(cacheKey);if(!cachedMaterial){cachedMaterial=material.clone();if(useSkinning)cachedMaterial.skinning=true;if(useVertexColors)cachedMaterial.vertexColors=true;if(useFlatShading)cachedMaterial.flatShading=true;if(useMorphTargets)cachedMaterial.morphTargets=true;if(useMorphNormals)cachedMaterial.morphNormals=true;if(useVertexTangents){cachedMaterial.vertexTangents=true;if(cachedMaterial.normalScale)cachedMaterial.normalScale.y*=-1;if(cachedMaterial.clearcoatNormalScale)cachedMaterial.clearcoatNormalScale.y*=-1}this.cache.add(cacheKey,cachedMaterial);this.associations.set(cachedMaterial,this.associations.get(material))}material=cachedMaterial}if(material.aoMap&&geometry.attributes.uv2===undefined&&geometry.attributes.uv!==undefined){geometry.setAttribute("uv2",geometry.attributes.uv)}mesh.material=material}getMaterialType(){return MeshStandardMaterial}loadMaterial(materialIndex){const parser=this;const json=this.json;const extensions=this.extensions;const materialDef=json.materials[materialIndex];let materialType;const materialParams={};const materialExtensions=materialDef.extensions||{};const pending=[];if(materialExtensions[EXTENSIONS.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS]){const sgExtension=extensions[EXTENSIONS.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS];materialType=sgExtension.getMaterialType();pending.push(sgExtension.extendParams(materialParams,materialDef,parser))}else if(materialExtensions[EXTENSIONS.KHR_MATERIALS_UNLIT]){const kmuExtension=extensions[EXTENSIONS.KHR_MATERIALS_UNLIT];materialType=kmuExtension.getMaterialType();pending.push(kmuExtension.extendParams(materialParams,materialDef,parser))}else{const metallicRoughness=materialDef.pbrMetallicRoughness||{};materialParams.color=new Color(1,1,1);materialParams.opacity=1;if(Array.isArray(metallicRoughness.baseColorFactor)){const array=metallicRoughness.baseColorFactor;materialParams.color.fromArray(array);materialParams.opacity=array[3]}if(metallicRoughness.baseColorTexture!==undefined){pending.push(parser.assignTexture(materialParams,"map",metallicRoughness.baseColorTexture))}materialParams.metalness=metallicRoughness.metallicFactor!==undefined?metallicRoughness.metallicFactor:1;materialParams.roughness=metallicRoughness.roughnessFactor!==undefined?metallicRoughness.roughnessFactor:1;if(metallicRoughness.metallicRoughnessTexture!==undefined){pending.push(parser.assignTexture(materialParams,"metalnessMap",metallicRoughness.metallicRoughnessTexture));pending.push(parser.assignTexture(materialParams,"roughnessMap",metallicRoughness.metallicRoughnessTexture))}materialType=this._invokeOne((function(ext){return ext.getMaterialType&&ext.getMaterialType(materialIndex)}));pending.push(Promise.all(this._invokeAll((function(ext){return ext.extendMaterialParams&&ext.extendMaterialParams(materialIndex,materialParams)}))))}if(materialDef.doubleSided===true){materialParams.side=DoubleSide}const alphaMode=materialDef.alphaMode||ALPHA_MODES.OPAQUE;if(alphaMode===ALPHA_MODES.BLEND){materialParams.transparent=true;materialParams.depthWrite=false}else{materialParams.transparent=false;if(alphaMode===ALPHA_MODES.MASK){materialParams.alphaTest=materialDef.alphaCutoff!==undefined?materialDef.alphaCutoff:.5}}if(materialDef.normalTexture!==undefined&&materialType!==MeshBasicMaterial){pending.push(parser.assignTexture(materialParams,"normalMap",materialDef.normalTexture));materialParams.normalScale=new Vector2(1,-1);if(materialDef.normalTexture.scale!==undefined){materialParams.normalScale.set(materialDef.normalTexture.scale,-materialDef.normalTexture.scale)}}if(materialDef.occlusionTexture!==undefined&&materialType!==MeshBasicMaterial){pending.push(parser.assignTexture(materialParams,"aoMap",materialDef.occlusionTexture));if(materialDef.occlusionTexture.strength!==undefined){materialParams.aoMapIntensity=materialDef.occlusionTexture.strength}}if(materialDef.emissiveFactor!==undefined&&materialType!==MeshBasicMaterial){materialParams.emissive=(new Color).fromArray(materialDef.emissiveFactor)}if(materialDef.emissiveTexture!==undefined&&materialType!==MeshBasicMaterial){pending.push(parser.assignTexture(materialParams,"emissiveMap",materialDef.emissiveTexture))}return Promise.all(pending).then((function(){let material;if(materialType===GLTFMeshStandardSGMaterial){material=extensions[EXTENSIONS.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS].createMaterial(materialParams)}else{material=new materialType(materialParams)}if(materialDef.name)material.name=materialDef.name;if(material.map)material.map.encoding=sRGBEncoding;if(material.emissiveMap)material.emissiveMap.encoding=sRGBEncoding;assignExtrasToUserData(material,materialDef);parser.associations.set(material,{type:"materials",index:materialIndex});if(materialDef.extensions)addUnknownExtensionsToUserData(extensions,material,materialDef);return material}))}createUniqueName(originalName){const sanitizedName=PropertyBinding.sanitizeNodeName(originalName||"");let name=sanitizedName;for(let i=1;this.nodeNamesUsed[name];++i){name=sanitizedName+"_"+i}this.nodeNamesUsed[name]=true;return name}loadGeometries(primitives){const parser=this;const extensions=this.extensions;const cache=this.primitiveCache;function createDracoPrimitive(primitive){return extensions[EXTENSIONS.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(primitive,parser).then((function(geometry){return addPrimitiveAttributes(geometry,primitive,parser)}))}const pending=[];for(let i=0,il=primitives.length;i0){updateMorphTargets(mesh,meshDef)}mesh.name=parser.createUniqueName(meshDef.name||"mesh_"+meshIndex);assignExtrasToUserData(mesh,meshDef);if(primitive.extensions)addUnknownExtensionsToUserData(extensions,mesh,primitive);parser.assignFinalMaterial(mesh);meshes.push(mesh)}if(meshes.length===1){return meshes[0]}const group=new Group;for(let i=0,il=meshes.length;i1){node=new Group}else if(objects.length===1){node=objects[0]}else{node=new Object3D}if(node!==objects[0]){for(let i=0,il=objects.length;i{const taskConfig={attributeIDs:this.defaultAttributeIDs,attributeTypes:this.defaultAttributeTypes,useUniqueIDs:false};this.decodeGeometry(buffer,taskConfig).then(onLoad).catch(onError)}),onProgress,onError)}decodeDracoFile(buffer,callback,attributeIDs,attributeTypes){const taskConfig={attributeIDs:attributeIDs||this.defaultAttributeIDs,attributeTypes:attributeTypes||this.defaultAttributeTypes,useUniqueIDs:!!attributeIDs};this.decodeGeometry(buffer,taskConfig).then(callback)}decodeGeometry(buffer,taskConfig){for(const attribute in taskConfig.attributeTypes){const type=taskConfig.attributeTypes[attribute];if(type.BYTES_PER_ELEMENT!==undefined){taskConfig.attributeTypes[attribute]=type.name}}const taskKey=JSON.stringify(taskConfig);if(_taskCache.has(buffer)){const cachedTask=_taskCache.get(buffer);if(cachedTask.key===taskKey){return cachedTask.promise}else if(buffer.byteLength===0){throw new Error("THREE.DRACOLoader: Unable to re-decode a buffer with different "+"settings. Buffer has already been transferred.")}}let worker;const taskID=this.workerNextTaskID++;const taskCost=buffer.byteLength;const geometryPending=this._getWorker(taskID,taskCost).then((_worker=>{worker=_worker;return new Promise(((resolve,reject)=>{worker._callbacks[taskID]={resolve:resolve,reject:reject};worker.postMessage({type:"decode",id:taskID,taskConfig:taskConfig,buffer:buffer},[buffer])}))})).then((message=>this._createGeometry(message.geometry)));geometryPending.catch((()=>true)).then((()=>{if(worker&&taskID){this._releaseTask(worker,taskID)}}));_taskCache.set(buffer,{key:taskKey,promise:geometryPending});return geometryPending}_createGeometry(geometryData){const geometry=new BufferGeometry;if(geometryData.index){geometry.setIndex(new BufferAttribute(geometryData.index.array,1))}for(let i=0;i{loader.load(url,resolve,undefined,reject)}))}preload(){this._initDecoder();return this}_initDecoder(){if(this.decoderPending)return this.decoderPending;const useJS=typeof WebAssembly!=="object"||this.decoderConfig.type==="js";const librariesPending=[];if(useJS){librariesPending.push(this._loadLibrary("draco_decoder.js","text"))}else{librariesPending.push(this._loadLibrary("draco_wasm_wrapper.js","text"));librariesPending.push(this._loadLibrary("draco_decoder.wasm","arraybuffer"))}this.decoderPending=Promise.all(librariesPending).then((libraries=>{const jsContent=libraries[0];if(!useJS){this.decoderConfig.wasmBinary=libraries[1]}const fn=DRACOWorker.toString();const body=["/* draco decoder */",jsContent,"","/* worker */",fn.substring(fn.indexOf("{")+1,fn.lastIndexOf("}"))].join("\n");this.workerSourceURL=URL.createObjectURL(new Blob([body]))}));return this.decoderPending}_getWorker(taskID,taskCost){return this._initDecoder().then((()=>{if(this.workerPool.lengthb._taskLoad?-1:1}))}const worker=this.workerPool[this.workerPool.length-1];worker._taskCosts[taskID]=taskCost;worker._taskLoad+=taskCost;return worker}))}_releaseTask(worker,taskID){worker._taskLoad-=worker._taskCosts[taskID];delete worker._callbacks[taskID];delete worker._taskCosts[taskID]}debug(){console.log("Task load: ",this.workerPool.map((worker=>worker._taskLoad)))}dispose(){for(let i=0;i{const draco=module.draco;const decoder=new draco.Decoder;const decoderBuffer=new draco.DecoderBuffer;decoderBuffer.Init(new Int8Array(buffer),buffer.byteLength);try{const geometry=decodeGeometry(draco,decoder,decoderBuffer,taskConfig);const buffers=geometry.attributes.map((attr=>attr.array.buffer));if(geometry.index)buffers.push(geometry.index.array.buffer);self.postMessage({type:"decode",id:message.id,geometry:geometry},buffers)}catch(error){console.error(error);self.postMessage({type:"error",id:message.id,error:error.message})}finally{draco.destroy(decoderBuffer);draco.destroy(decoder)}}));break}};function decodeGeometry(draco,decoder,decoderBuffer,taskConfig){const attributeIDs=taskConfig.attributeIDs;const attributeTypes=taskConfig.attributeTypes;let dracoGeometry;let decodingStatus;const geometryType=decoder.GetEncodedGeometryType(decoderBuffer);if(geometryType===draco.TRIANGULAR_MESH){dracoGeometry=new draco.Mesh;decodingStatus=decoder.DecodeBufferToMesh(decoderBuffer,dracoGeometry)}else if(geometryType===draco.POINT_CLOUD){dracoGeometry=new draco.PointCloud;decodingStatus=decoder.DecodeBufferToPointCloud(decoderBuffer,dracoGeometry)}else{throw new Error("THREE.DRACOLoader: Unexpected geometry type.")}if(!decodingStatus.ok()||dracoGeometry.ptr===0){throw new Error("THREE.DRACOLoader: Decoding failed: "+decodingStatus.error_msg())}const geometry={index:null,attributes:[]};for(const attributeName in attributeIDs){const attributeType=self[attributeTypes[attributeName]];let attribute;let attributeID;if(taskConfig.useUniqueIDs){attributeID=attributeIDs[attributeName];attribute=decoder.GetAttributeByUniqueId(dracoGeometry,attributeID)}else{attributeID=decoder.GetAttributeId(dracoGeometry,draco[attributeIDs[attributeName]]);if(attributeID===-1)continue;attribute=decoder.GetAttribute(dracoGeometry,attributeID)}geometry.attributes.push(decodeAttribute(draco,decoder,dracoGeometry,attributeName,attributeType,attribute))}if(geometryType===draco.TRIANGULAR_MESH){geometry.index=decodeIndex(draco,decoder,dracoGeometry)}draco.destroy(dracoGeometry);return geometry}function decodeIndex(draco,decoder,dracoGeometry){const numFaces=dracoGeometry.num_faces();const numIndices=numFaces*3;const byteLength=numIndices*4;const ptr=draco._malloc(byteLength);decoder.GetTrianglesUInt32Array(dracoGeometry,byteLength,ptr);const index=new Uint32Array(draco.HEAPF32.buffer,ptr,numIndices).slice();draco._free(ptr);return{array:index,itemSize:1}}function decodeAttribute(draco,decoder,dracoGeometry,attributeName,attributeType,attribute){const numComponents=attribute.num_components();const numPoints=dracoGeometry.num_points();const numValues=numPoints*numComponents;const byteLength=numValues*attributeType.BYTES_PER_ELEMENT;const dataType=getDracoDataType(draco,attributeType);const ptr=draco._malloc(byteLength);decoder.GetAttributeDataArrayForAllPoints(dracoGeometry,attribute,dataType,byteLength,ptr);const array=new attributeType(draco.HEAPF32.buffer,ptr,numValues).slice();draco._free(ptr);return{name:attributeName,array:array,itemSize:numComponents}}function getDracoDataType(draco,attributeType){switch(attributeType){case Float32Array:return draco.DT_FLOAT32;case Int8Array:return draco.DT_INT8;case Int16Array:return draco.DT_INT16;case Int32Array:return draco.DT_INT32;case Uint8Array:return draco.DT_UINT8;case Uint16Array:return draco.DT_UINT16;case Uint32Array:return draco.DT_UINT32}}}var Convert=function(){function Convert(){}Convert.toIcosa=function(json){return JSON.parse(json)};Convert.icosaToJson=function(value){return JSON.stringify(value)};Convert.toPoly=function(json){return JSON.parse(json)};Convert.polyToJson=function(value){return JSON.stringify(value)};return Convert}();const TILTBRUSH_SHADER_PATH="https://storage.googleapis.com/static.icosa.gallery/brushes/";class TiltShaderLoader extends Loader$1{constructor(manager){super(manager)}async load(brushName,onLoad,onProgress,onError){const scope=this;const loader=new FileLoader(this.manager);loader.setPath(this.path);loader.setResponseType("text");loader.setWithCredentials(this.withCredentials);const textureLoader=new TextureLoader(this.manager);textureLoader.setPath(TILTBRUSH_SHADER_PATH);textureLoader.setWithCredentials(this.withCredentials);const materialParams=tiltBrushMaterialParams[brushName];materialParams.vertexShader=await loader.loadAsync(materialParams.vertexShader);materialParams.fragmentShader=await loader.loadAsync(materialParams.fragmentShader);if(materialParams.uniforms.u_MainTex){const mainTex=await textureLoader.loadAsync(materialParams.uniforms.u_MainTex.value);mainTex.name=`${brushName}_MainTex`;mainTex.wrapS=RepeatWrapping;mainTex.wrapT=RepeatWrapping;mainTex.flipY=false;materialParams.uniforms.u_MainTex.value=mainTex}if(materialParams.uniforms.u_BumpMap){const bumpMap=await textureLoader.loadAsync(materialParams.uniforms.u_BumpMap.value);bumpMap.name=`${brushName}_BumpMap`;bumpMap.wrapS=RepeatWrapping;bumpMap.wrapT=RepeatWrapping;bumpMap.flipY=false;materialParams.uniforms.u_BumpMap.value=bumpMap}if(materialParams.uniforms.u_AlphaMask){const alphaMask=await textureLoader.loadAsync(materialParams.uniforms.u_AlphaMask.value);alphaMask.name=`${brushName}_AlphaMask`;alphaMask.wrapS=RepeatWrapping;alphaMask.wrapT=RepeatWrapping;alphaMask.flipY=false;materialParams.uniforms.u_AlphaMask.value=alphaMask}onLoad(scope.parse(materialParams))}parse(materialParams){return new RawShaderMaterial(materialParams)}}const tiltBrushMaterialParams={BlocksBasic:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"BlocksBasic-0e87b49c-6546-3a34-3a44-8a556d7d6c3e/BlocksBasic-0e87b49c-6546-3a34-3a44-8a556d7d6c3e-v10.0-vertex.glsl",fragmentShader:"BlocksBasic-0e87b49c-6546-3a34-3a44-8a556d7d6c3e/BlocksBasic-0e87b49c-6546-3a34-3a44-8a556d7d6c3e-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},BlocksGem:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"BlocksGem-232998f8-d357-47a2-993a-53415df9be10/BlocksGem-232998f8-d357-47a2-993a-53415df9be10-v10.0-vertex.glsl",fragmentShader:"BlocksGem-232998f8-d357-47a2-993a-53415df9be10/BlocksGem-232998f8-d357-47a2-993a-53415df9be10-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},BlocksGlass:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"BlocksGlass-3d813d82-5839-4450-8ddc-8e889ecd96c7/BlocksGlass-3d813d82-5839-4450-8ddc-8e889ecd96c7-v10.0-vertex.glsl",fragmentShader:"BlocksGlass-3d813d82-5839-4450-8ddc-8e889ecd96c7/BlocksGlass-3d813d82-5839-4450-8ddc-8e889ecd96c7-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:false,depthTest:true,blending:2,extensions:{derivatives:true}},Bubbles:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_MainTex:{value:"Bubbles-89d104cd-d012-426b-b5b3-bbaee63ac43c/Bubbles-89d104cd-d012-426b-b5b3-bbaee63ac43c-v10.0-MainTex.png"}},vertexShader:"Bubbles-89d104cd-d012-426b-b5b3-bbaee63ac43c/Bubbles-89d104cd-d012-426b-b5b3-bbaee63ac43c-v10.0-vertex.glsl",fragmentShader:"Bubbles-89d104cd-d012-426b-b5b3-bbaee63ac43c/Bubbles-89d104cd-d012-426b-b5b3-bbaee63ac43c-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2},CelVinyl:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"CelVinyl-700f3aa8-9a7c-2384-8b8a-ea028905dd8c/CelVinyl-700f3aa8-9a7c-2384-8b8a-ea028905dd8c-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"CelVinyl-700f3aa8-9a7c-2384-8b8a-ea028905dd8c/CelVinyl-700f3aa8-9a7c-2384-8b8a-ea028905dd8c-v10.0-vertex.glsl",fragmentShader:"CelVinyl-700f3aa8-9a7c-2384-8b8a-ea028905dd8c/CelVinyl-700f3aa8-9a7c-2384-8b8a-ea028905dd8c-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},ChromaticWave:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_time:{value:new Vector4},u_EmissionGain:{value:.45}},vertexShader:"ChromaticWave-0f0ff7b2-a677-45eb-a7d6-0cd7206f4816/ChromaticWave-0f0ff7b2-a677-45eb-a7d6-0cd7206f4816-v10.0-vertex.glsl",fragmentShader:"ChromaticWave-0f0ff7b2-a677-45eb-a7d6-0cd7206f4816/ChromaticWave-0f0ff7b2-a677-45eb-a7d6-0cd7206f4816-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:5,blendDstAlpha:201,blendDst:201,blendEquationAlpha:100,blendEquation:100,blendSrcAlpha:201,blendSrc:201},CoarseBristles:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"CoarseBristles-1161af82-50cf-47db-9706-0c3576d43c43/CoarseBristles-1161af82-50cf-47db-9706-0c3576d43c43-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"CoarseBristles-1161af82-50cf-47db-9706-0c3576d43c43/CoarseBristles-1161af82-50cf-47db-9706-0c3576d43c43-v10.0-vertex.glsl",fragmentShader:"CoarseBristles-1161af82-50cf-47db-9706-0c3576d43c43/CoarseBristles-1161af82-50cf-47db-9706-0c3576d43c43-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Comet:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_time:{value:new Vector4},u_Speed:{value:1},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"Comet-1caa6d7d-f015-3f54-3a4b-8b5354d39f81/Comet-1caa6d7d-f015-3f54-3a4b-8b5354d39f81-v10.0-MainTex.png"},u_AlphaMask:{value:"Comet-1caa6d7d-f015-3f54-3a4b-8b5354d39f81/Comet-1caa6d7d-f015-3f54-3a4b-8b5354d39f81-v10.0-AlphaMask.png"},u_AlphaMask_TexelSize:{value:new Vector4(.0156,1,64,1)},u_Cutoff:{value:.2}},vertexShader:"Comet-1caa6d7d-f015-3f54-3a4b-8b5354d39f81/Comet-1caa6d7d-f015-3f54-3a4b-8b5354d39f81-v10.0-vertex.glsl",fragmentShader:"Comet-1caa6d7d-f015-3f54-3a4b-8b5354d39f81/Comet-1caa6d7d-f015-3f54-3a4b-8b5354d39f81-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2,extensions:{derivatives:true}},DiamondHull:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_time:{value:new Vector4},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},cameraPosition:{value:new Vector3},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"DiamondHull-c8313697-2563-47fc-832e-290f4c04b901/DiamondHull-c8313697-2563-47fc-832e-290f4c04b901-v10.0-MainTex.png"}},vertexShader:"DiamondHull-c8313697-2563-47fc-832e-290f4c04b901/DiamondHull-c8313697-2563-47fc-832e-290f4c04b901-v10.0-vertex.glsl",fragmentShader:"DiamondHull-c8313697-2563-47fc-832e-290f4c04b901/DiamondHull-c8313697-2563-47fc-832e-290f4c04b901-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:5,blendDstAlpha:201,blendDst:201,blendEquationAlpha:100,blendEquation:100,blendSrcAlpha:201,blendSrc:201},Disco:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_time:{value:new Vector4},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_Shininess:{value:.65},u_SpecColor:{value:new Vector3(.5147,.5147,.5147)},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0}},vertexShader:"Disco-4391aaaa-df73-4396-9e33-31e4e4930b27/Disco-4391aaaa-df73-4396-9e33-31e4e4930b27-v10.0-vertex.glsl",fragmentShader:"Disco-4391aaaa-df73-4396-9e33-31e4e4930b27/Disco-4391aaaa-df73-4396-9e33-31e4e4930b27-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0},DotMarker:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"DotMarker-d1d991f2-e7a0-4cf1-b328-f57e915e6260/DotMarker-d1d991f2-e7a0-4cf1-b328-f57e915e6260-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"DotMarker-d1d991f2-e7a0-4cf1-b328-f57e915e6260/DotMarker-d1d991f2-e7a0-4cf1-b328-f57e915e6260-v10.0-vertex.glsl",fragmentShader:"DotMarker-d1d991f2-e7a0-4cf1-b328-f57e915e6260/DotMarker-d1d991f2-e7a0-4cf1-b328-f57e915e6260-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Dots:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_TintColor:{value:new Vector4(1,1,1,1)},u_EmissionGain:{value:300},u_BaseGain:{value:.4},u_MainTex:{value:"Dots-6a1cf9f9-032c-45ec-9b1d-a6680bee30f7/Dots-6a1cf9f9-032c-45ec-9b1d-a6680bee30f7-v10.0-MainTex.png"}},vertexShader:"Dots-6a1cf9f9-032c-45ec-9b1d-a6680bee30f7/Dots-6a1cf9f9-032c-45ec-9b1d-a6680bee30f7-v10.0-vertex.glsl",fragmentShader:"Dots-6a1cf9f9-032c-45ec-9b1d-a6680bee30f7/Dots-6a1cf9f9-032c-45ec-9b1d-a6680bee30f7-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2},DoubleTaperedFlat:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"DoubleTaperedFlat-0d3889f3-3ede-470c-8af4-f44813306126/DoubleTaperedFlat-0d3889f3-3ede-470c-8af4-f44813306126-v10.0-vertex.glsl",fragmentShader:"DoubleTaperedFlat-0d3889f3-3ede-470c-8af4-f44813306126/DoubleTaperedFlat-0d3889f3-3ede-470c-8af4-f44813306126-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},DoubleTaperedMarker:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"DoubleTaperedMarker-0d3889f3-3ede-470c-8af4-de4813306126/DoubleTaperedMarker-0d3889f3-3ede-470c-8af4-de4813306126-v10.0-vertex.glsl",fragmentShader:"DoubleTaperedMarker-0d3889f3-3ede-470c-8af4-de4813306126/DoubleTaperedMarker-0d3889f3-3ede-470c-8af4-de4813306126-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},DuctTape:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.001,.0078,1024,128)},u_BumpMap:{value:"DuctTape-3ca16e2f-bdcd-4da2-8631-dcef342f40f1/DuctTape-3ca16e2f-bdcd-4da2-8631-dcef342f40f1-v10.0-BumpMap.png"},u_MainTex:{value:"DuctTape-3ca16e2f-bdcd-4da2-8631-dcef342f40f1/DuctTape-3ca16e2f-bdcd-4da2-8631-dcef342f40f1-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"DuctTape-d0262945-853c-4481-9cbd-88586bed93cb/DuctTape-d0262945-853c-4481-9cbd-88586bed93cb-v10.0-vertex.glsl",fragmentShader:"DuctTape-d0262945-853c-4481-9cbd-88586bed93cb/DuctTape-d0262945-853c-4481-9cbd-88586bed93cb-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Electricity:{uniforms:{u_time:{value:new Vector4},u_DisplacementIntensity:{value:2},u_EmissionGain:{value:.2}},vertexShader:"Electricity-f6e85de3-6dcc-4e7f-87fd-cee8c3d25d51/Electricity-f6e85de3-6dcc-4e7f-87fd-cee8c3d25d51-v10.0-vertex.glsl",fragmentShader:"Electricity-f6e85de3-6dcc-4e7f-87fd-cee8c3d25d51/Electricity-f6e85de3-6dcc-4e7f-87fd-cee8c3d25d51-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2,extensions:{derivatives:true}},Embers:{uniforms:{u_time:{value:new Vector4},u_ScrollRate:{value:.6},u_ScrollDistance:{value:new Vector3(-.2,.6,0)},u_ScrollJitterIntensity:{value:.03},u_ScrollJitterFrequency:{value:5},u_TintColor:{value:new Vector4(1,1,1,1)},u_MainTex:{value:"Embers-02ffb866-7fb2-4d15-b761-1012cefb1360/Embers-02ffb866-7fb2-4d15-b761-1012cefb1360-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Embers-02ffb866-7fb2-4d15-b761-1012cefb1360/Embers-02ffb866-7fb2-4d15-b761-1012cefb1360-v10.0-vertex.glsl",fragmentShader:"Embers-02ffb866-7fb2-4d15-b761-1012cefb1360/Embers-02ffb866-7fb2-4d15-b761-1012cefb1360-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2},EnvironmentDiffuse:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"EnvironmentDiffuse-0ad58bbd-42bc-484e-ad9a-b61036ff4ce7/EnvironmentDiffuse-0ad58bbd-42bc-484e-ad9a-b61036ff4ce7-v1.0-vertex.glsl",fragmentShader:"EnvironmentDiffuse-0ad58bbd-42bc-484e-ad9a-b61036ff4ce7/EnvironmentDiffuse-0ad58bbd-42bc-484e-ad9a-b61036ff4ce7-v1.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},EnvironmentDiffuseLightMap:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"EnvironmentDiffuseLightMap-d01d9d6c-9a61-4aba-8146-5891fafb013b/EnvironmentDiffuseLightMap-d01d9d6c-9a61-4aba-8146-5891fafb013b-v1.0-vertex.glsl",fragmentShader:"EnvironmentDiffuseLightMap-d01d9d6c-9a61-4aba-8146-5891fafb013b/EnvironmentDiffuseLightMap-d01d9d6c-9a61-4aba-8146-5891fafb013b-v1.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Fire:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_time:{value:new Vector4},u_EmissionGain:{value:.5},u_MainTex:{value:"Fire-cb92b597-94ca-4255-b017-0e3f42f12f9e/Fire-cb92b597-94ca-4255-b017-0e3f42f12f9e-v10.0-MainTex.png"}},vertexShader:"Fire-cb92b597-94ca-4255-b017-0e3f42f12f9e/Fire-cb92b597-94ca-4255-b017-0e3f42f12f9e-v10.0-vertex.glsl",fragmentShader:"Fire-cb92b597-94ca-4255-b017-0e3f42f12f9e/Fire-cb92b597-94ca-4255-b017-0e3f42f12f9e-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:5,blendDstAlpha:201,blendDst:201,blendEquationAlpha:100,blendEquation:100,blendSrcAlpha:201,blendSrc:201},Flat:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"Flat-2d35bcf0-e4d8-452c-97b1-3311be063130/Flat-2d35bcf0-e4d8-452c-97b1-3311be063130-v10.0-vertex.glsl",fragmentShader:"Flat-2d35bcf0-e4d8-452c-97b1-3311be063130/Flat-2d35bcf0-e4d8-452c-97b1-3311be063130-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:5,blendDstAlpha:201,blendDst:201,blendEquationAlpha:100,blendEquation:100,blendSrcAlpha:201,blendSrc:201},Highlighter:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"Highlighter-cf019139-d41c-4eb0-a1d0-5cf54b0a42f3/Highlighter-cf019139-d41c-4eb0-a1d0-5cf54b0a42f3-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Highlighter-cf019139-d41c-4eb0-a1d0-5cf54b0a42f3/Highlighter-cf019139-d41c-4eb0-a1d0-5cf54b0a42f3-v10.0-vertex.glsl",fragmentShader:"Highlighter-cf019139-d41c-4eb0-a1d0-5cf54b0a42f3/Highlighter-cf019139-d41c-4eb0-a1d0-5cf54b0a42f3-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:false,depthTest:true,blending:2,extensions:{derivatives:true}},Hypercolor:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_time:{value:new Vector4},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.001,.0078,1024,128)},u_BumpMap:{value:"Hypercolor-dce872c2-7b49-4684-b59b-c45387949c5c/Hypercolor-dce872c2-7b49-4684-b59b-c45387949c5c-v10.0-BumpMap.png"},u_MainTex:{value:"Hypercolor-dce872c2-7b49-4684-b59b-c45387949c5c/Hypercolor-dce872c2-7b49-4684-b59b-c45387949c5c-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Hypercolor-dce872c2-7b49-4684-b59b-c45387949c5c/Hypercolor-dce872c2-7b49-4684-b59b-c45387949c5c-v10.0-vertex.glsl",fragmentShader:"Hypercolor-dce872c2-7b49-4684-b59b-c45387949c5c/Hypercolor-dce872c2-7b49-4684-b59b-c45387949c5c-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},HyperGrid:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_TintColor:{value:new Vector4(1,1,1,1)},u_MainTex:{value:"HyperGrid-6a1cf9f9-032c-45ec-9b6e-a6680bee32e9/HyperGrid-6a1cf9f9-032c-45ec-9b6e-a6680bee32e9-v10.0-MainTex.png"}},vertexShader:"HyperGrid-6a1cf9f9-032c-45ec-9b6e-a6680bee32e9/HyperGrid-6a1cf9f9-032c-45ec-9b6e-a6680bee32e9-v10.0-vertex.glsl",fragmentShader:"HyperGrid-6a1cf9f9-032c-45ec-9b6e-a6680bee32e9/HyperGrid-6a1cf9f9-032c-45ec-9b6e-a6680bee32e9-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2,extensions:{derivatives:true}},Icing:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.001,.0078,1024,128)},u_BumpMap:{value:"Icing-2f212815-f4d3-c1a4-681a-feeaf9c6dc37/Icing-2f212815-f4d3-c1a4-681a-feeaf9c6dc37-v10.0-BumpMap.png"},u_MainTex:{value:"Icing-2f212815-f4d3-c1a4-681a-feeaf9c6dc37/Icing-2f212815-f4d3-c1a4-681a-feeaf9c6dc37-v10.0-BumpMap.png"},u_Cutoff:{value:.2}},vertexShader:"Icing-2f212815-f4d3-c1a4-681a-feeaf9c6dc37/Icing-2f212815-f4d3-c1a4-681a-feeaf9c6dc37-v10.0-vertex.glsl",fragmentShader:"Icing-2f212815-f4d3-c1a4-681a-feeaf9c6dc37/Icing-2f212815-f4d3-c1a4-681a-feeaf9c6dc37-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Ink:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.001,.0078,1024,128)},u_BumpMap:{value:"Ink-c0012095-3ffd-4040-8ee1-fc180d346eaa/Ink-c0012095-3ffd-4040-8ee1-fc180d346eaa-v10.0-BumpMap.png"},u_MainTex:{value:"Ink-c0012095-3ffd-4040-8ee1-fc180d346eaa/Ink-c0012095-3ffd-4040-8ee1-fc180d346eaa-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Ink-f5c336cf-5108-4b40-ade9-c687504385ab/Ink-f5c336cf-5108-4b40-ade9-c687504385ab-v10.0-vertex.glsl",fragmentShader:"Ink-f5c336cf-5108-4b40-ade9-c687504385ab/Ink-f5c336cf-5108-4b40-ade9-c687504385ab-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Leaves:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.001,.0078,1024,128)},u_BumpMap:{value:"Leaves-ea19de07-d0c0-4484-9198-18489a3c1487/Leaves-ea19de07-d0c0-4484-9198-18489a3c1487-v10.0-BumpMap.png"},u_MainTex:{value:"Leaves-ea19de07-d0c0-4484-9198-18489a3c1487/Leaves-ea19de07-d0c0-4484-9198-18489a3c1487-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Leaves-ea19de07-d0c0-4484-9198-18489a3c1487/Leaves-ea19de07-d0c0-4484-9198-18489a3c1487-v10.0-vertex.glsl",fragmentShader:"Leaves-ea19de07-d0c0-4484-9198-18489a3c1487/Leaves-ea19de07-d0c0-4484-9198-18489a3c1487-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Light:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_MainTex:{value:"Light-2241cd32-8ba2-48a5-9ee7-2caef7e9ed62/Light-2241cd32-8ba2-48a5-9ee7-2caef7e9ed62-v10.0-MainTex.png"},u_EmissionGain:{value:.45}},vertexShader:"Light-2241cd32-8ba2-48a5-9ee7-2caef7e9ed62/Light-2241cd32-8ba2-48a5-9ee7-2caef7e9ed62-v10.0-vertex.glsl",fragmentShader:"Light-2241cd32-8ba2-48a5-9ee7-2caef7e9ed62/Light-2241cd32-8ba2-48a5-9ee7-2caef7e9ed62-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:5,blendDstAlpha:201,blendDst:201,blendEquationAlpha:100,blendEquation:100,blendSrcAlpha:201,blendSrc:201},LightWire:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_time:{value:new Vector4},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"LightWire-4391aaaa-df81-4396-9e33-31e4e4930b27/LightWire-4391aaaa-df81-4396-9e33-31e4e4930b27-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"LightWire-4391aaaa-df81-4396-9e33-31e4e4930b27/LightWire-4391aaaa-df81-4396-9e33-31e4e4930b27-v10.0-vertex.glsl",fragmentShader:"LightWire-4391aaaa-df81-4396-9e33-31e4e4930b27/LightWire-4391aaaa-df81-4396-9e33-31e4e4930b27-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0},Lofted:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"Lofted-d381e0f5-3def-4a0d-8853-31e9200bcbda/Lofted-d381e0f5-3def-4a0d-8853-31e9200bcbda-v10.0-vertex.glsl",fragmentShader:"Lofted-d381e0f5-3def-4a0d-8853-31e9200bcbda/Lofted-d381e0f5-3def-4a0d-8853-31e9200bcbda-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Marker:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"Marker-429ed64a-4e97-4466-84d3-145a861ef684/Marker-429ed64a-4e97-4466-84d3-145a861ef684-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Marker-429ed64a-4e97-4466-84d3-145a861ef684/Marker-429ed64a-4e97-4466-84d3-145a861ef684-v10.0-vertex.glsl",fragmentShader:"Marker-429ed64a-4e97-4466-84d3-145a861ef684/Marker-429ed64a-4e97-4466-84d3-145a861ef684-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},MatteHull:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0}},vertexShader:"MatteHull-79348357-432d-4746-8e29-0e25c112e3aa/MatteHull-79348357-432d-4746-8e29-0e25c112e3aa-v10.0-vertex.glsl",fragmentShader:"MatteHull-79348357-432d-4746-8e29-0e25c112e3aa/MatteHull-79348357-432d-4746-8e29-0e25c112e3aa-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0},NeonPulse:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_time:{value:new Vector4},u_EmissionGain:{value:.45}},vertexShader:"NeonPulse-b2ffef01-eaaa-4ab5-aa64-95a2c4f5dbc6/NeonPulse-b2ffef01-eaaa-4ab5-aa64-95a2c4f5dbc6-v10.0-vertex.glsl",fragmentShader:"NeonPulse-b2ffef01-eaaa-4ab5-aa64-95a2c4f5dbc6/NeonPulse-b2ffef01-eaaa-4ab5-aa64-95a2c4f5dbc6-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:5,blendDstAlpha:201,blendDst:201,blendEquationAlpha:100,blendEquation:100,blendSrcAlpha:201,blendSrc:201},OilPaint:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_Cutoff:{value:0},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.002,.002,512,512)},u_MainTex:{value:"OilPaint-f72ec0e7-a844-4e38-82e3-140c44772699/OilPaint-f72ec0e7-a844-4e38-82e3-140c44772699-v10.0-MainTex.png"},u_BumpMap:{value:"OilPaint-f72ec0e7-a844-4e38-82e3-140c44772699/OilPaint-f72ec0e7-a844-4e38-82e3-140c44772699-v10.0-BumpMap.png"}},vertexShader:"OilPaint-f72ec0e7-a844-4e38-82e3-140c44772699/OilPaint-f72ec0e7-a844-4e38-82e3-140c44772699-v10.0-vertex.glsl",fragmentShader:"OilPaint-f72ec0e7-a844-4e38-82e3-140c44772699/OilPaint-f72ec0e7-a844-4e38-82e3-140c44772699-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0},Paper:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.001,.0078,1024,128)},u_BumpMap:{value:"Paper-759f1ebd-20cd-4720-8d41-234e0da63716/Paper-759f1ebd-20cd-4720-8d41-234e0da63716-v10.0-BumpMap.png"},u_MainTex:{value:"Paper-759f1ebd-20cd-4720-8d41-234e0da63716/Paper-759f1ebd-20cd-4720-8d41-234e0da63716-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Paper-f1114e2e-eb8d-4fde-915a-6e653b54e9f5/Paper-f1114e2e-eb8d-4fde-915a-6e653b54e9f5-v10.0-vertex.glsl",fragmentShader:"Paper-f1114e2e-eb8d-4fde-915a-6e653b54e9f5/Paper-f1114e2e-eb8d-4fde-915a-6e653b54e9f5-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},PbrTemplate:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"PbrTemplate-f86a096c-2f4f-4f9d-ae19-81b99f2944e0/PbrTemplate-f86a096c-2f4f-4f9d-ae19-81b99f2944e0-v1.0-vertex.glsl",fragmentShader:"PbrTemplate-f86a096c-2f4f-4f9d-ae19-81b99f2944e0/PbrTemplate-f86a096c-2f4f-4f9d-ae19-81b99f2944e0-v1.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},PbrTransparentTemplate:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"PbrTransparentTemplate-19826f62-42ac-4a9e-8b77-4231fbd0cfbf/PbrTransparentTemplate-19826f62-42ac-4a9e-8b77-4231fbd0cfbf-v1.0-vertex.glsl",fragmentShader:"PbrTransparentTemplate-19826f62-42ac-4a9e-8b77-4231fbd0cfbf/PbrTransparentTemplate-19826f62-42ac-4a9e-8b77-4231fbd0cfbf-v1.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Petal:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"Petal-e0abbc80-0f80-e854-4970-8924a0863dcc/Petal-e0abbc80-0f80-e854-4970-8924a0863dcc-v10.0-vertex.glsl",fragmentShader:"Petal-e0abbc80-0f80-e854-4970-8924a0863dcc/Petal-e0abbc80-0f80-e854-4970-8924a0863dcc-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Plasma:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_time:{value:new Vector4},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"Plasma-c33714d1-b2f9-412e-bd50-1884c9d46336/Plasma-c33714d1-b2f9-412e-bd50-1884c9d46336-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Plasma-c33714d1-b2f9-412e-bd50-1884c9d46336/Plasma-c33714d1-b2f9-412e-bd50-1884c9d46336-v10.0-vertex.glsl",fragmentShader:"Plasma-c33714d1-b2f9-412e-bd50-1884c9d46336/Plasma-c33714d1-b2f9-412e-bd50-1884c9d46336-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Rainbow:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_time:{value:new Vector4},u_EmissionGain:{value:.45}},vertexShader:"Rainbow-ad1ad437-76e2-450d-a23a-e17f8310b960/Rainbow-ad1ad437-76e2-450d-a23a-e17f8310b960-v10.0-vertex.glsl",fragmentShader:"Rainbow-ad1ad437-76e2-450d-a23a-e17f8310b960/Rainbow-ad1ad437-76e2-450d-a23a-e17f8310b960-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:5,blendDstAlpha:201,blendDst:201,blendEquationAlpha:100,blendEquation:100,blendSrcAlpha:201,blendSrc:201},ShinyHull:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(.1985,.1985,.1985)},u_Shininess:{value:.743},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"ShinyHull-faaa4d44-fcfb-4177-96be-753ac0421ba3/ShinyHull-faaa4d44-fcfb-4177-96be-753ac0421ba3-v10.0-vertex.glsl",fragmentShader:"ShinyHull-faaa4d44-fcfb-4177-96be-753ac0421ba3/ShinyHull-faaa4d44-fcfb-4177-96be-753ac0421ba3-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Smoke:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_TintColor:{value:new Vector4(1,1,1,1)},u_MainTex:{value:"Smoke-70d79cca-b159-4f35-990c-f02193947fe8/Smoke-70d79cca-b159-4f35-990c-f02193947fe8-v10.0-MainTex.png"}},vertexShader:"Smoke-70d79cca-b159-4f35-990c-f02193947fe8/Smoke-70d79cca-b159-4f35-990c-f02193947fe8-v10.0-vertex.glsl",fragmentShader:"Smoke-70d79cca-b159-4f35-990c-f02193947fe8/Smoke-70d79cca-b159-4f35-990c-f02193947fe8-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2},Snow:{uniforms:{u_time:{value:new Vector4},u_ScrollRate:{value:.2},u_ScrollDistance:{value:new Vector3(0,-.3,0)},u_ScrollJitterIntensity:{value:.01},u_ScrollJitterFrequency:{value:12},u_TintColor:{value:new Vector4(1,1,1,1)},u_MainTex:{value:"Snow-d902ed8b-d0d1-476c-a8de-878a79e3a34c/Snow-d902ed8b-d0d1-476c-a8de-878a79e3a34c-v10.0-MainTex.png"}},vertexShader:"Snow-d902ed8b-d0d1-476c-a8de-878a79e3a34c/Snow-d902ed8b-d0d1-476c-a8de-878a79e3a34c-v10.0-vertex.glsl",fragmentShader:"Snow-d902ed8b-d0d1-476c-a8de-878a79e3a34c/Snow-d902ed8b-d0d1-476c-a8de-878a79e3a34c-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2},SoftHighlighter:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_MainTex:{value:"SoftHighlighter-accb32f5-4509-454f-93f8-1df3fd31df1b/SoftHighlighter-accb32f5-4509-454f-93f8-1df3fd31df1b-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"SoftHighlighter-accb32f5-4509-454f-93f8-1df3fd31df1b/SoftHighlighter-accb32f5-4509-454f-93f8-1df3fd31df1b-v10.0-vertex.glsl",fragmentShader:"SoftHighlighter-accb32f5-4509-454f-93f8-1df3fd31df1b/SoftHighlighter-accb32f5-4509-454f-93f8-1df3fd31df1b-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:5,blendDstAlpha:201,blendDst:201,blendEquationAlpha:100,blendEquation:100,blendSrcAlpha:201,blendSrc:201},Spikes:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"Spikes-cf7f0059-7aeb-53a4-2b67-c83d863a9ffa/Spikes-cf7f0059-7aeb-53a4-2b67-c83d863a9ffa-v10.0-vertex.glsl",fragmentShader:"Spikes-cf7f0059-7aeb-53a4-2b67-c83d863a9ffa/Spikes-cf7f0059-7aeb-53a4-2b67-c83d863a9ffa-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Splatter:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"Splatter-7a1c8107-50c5-4b70-9a39-421576d6617e/Splatter-7a1c8107-50c5-4b70-9a39-421576d6617e-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Splatter-7a1c8107-50c5-4b70-9a39-421576d6617e/Splatter-7a1c8107-50c5-4b70-9a39-421576d6617e-v10.0-vertex.glsl",fragmentShader:"Splatter-7a1c8107-50c5-4b70-9a39-421576d6617e/Splatter-7a1c8107-50c5-4b70-9a39-421576d6617e-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0},Stars:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_time:{value:new Vector4},u_SparkleRate:{value:5.3},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"Stars-0eb4db27-3f82-408d-b5a1-19ebd7d5b711/Stars-0eb4db27-3f82-408d-b5a1-19ebd7d5b711-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Stars-0eb4db27-3f82-408d-b5a1-19ebd7d5b711/Stars-0eb4db27-3f82-408d-b5a1-19ebd7d5b711-v10.0-vertex.glsl",fragmentShader:"Stars-0eb4db27-3f82-408d-b5a1-19ebd7d5b711/Stars-0eb4db27-3f82-408d-b5a1-19ebd7d5b711-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2,extensions:{derivatives:true}},Streamers:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_EmissionGain:{value:.4},u_time:{value:new Vector4},u_MainTex:{value:"Streamers-44bb800a-fbc3-4592-8426-94ecb05ddec3/Streamers-44bb800a-fbc3-4592-8426-94ecb05ddec3-v10.0-MainTex.png"}},vertexShader:"Streamers-44bb800a-fbc3-4592-8426-94ecb05ddec3/Streamers-44bb800a-fbc3-4592-8426-94ecb05ddec3-v10.0-vertex.glsl",fragmentShader:"Streamers-44bb800a-fbc3-4592-8426-94ecb05ddec3/Streamers-44bb800a-fbc3-4592-8426-94ecb05ddec3-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2},Taffy:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"Taffy-0077f88c-d93a-42f3-b59b-b31c50cdb414/Taffy-0077f88c-d93a-42f3-b59b-b31c50cdb414-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Taffy-0077f88c-d93a-42f3-b59b-b31c50cdb414/Taffy-0077f88c-d93a-42f3-b59b-b31c50cdb414-v10.0-vertex.glsl",fragmentShader:"Taffy-0077f88c-d93a-42f3-b59b-b31c50cdb414/Taffy-0077f88c-d93a-42f3-b59b-b31c50cdb414-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},TaperedFlat:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"TaperedFlat-b468c1fb-f254-41ed-8ec9-57030bc5660c/TaperedFlat-b468c1fb-f254-41ed-8ec9-57030bc5660c-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"TaperedFlat-b468c1fb-f254-41ed-8ec9-57030bc5660c/TaperedFlat-b468c1fb-f254-41ed-8ec9-57030bc5660c-v10.0-vertex.glsl",fragmentShader:"TaperedFlat-b468c1fb-f254-41ed-8ec9-57030bc5660c/TaperedFlat-b468c1fb-f254-41ed-8ec9-57030bc5660c-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},TaperedMarker:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"TaperedMarker-d90c6ad8-af0f-4b54-b422-e0f92abe1b3c/TaperedMarker-d90c6ad8-af0f-4b54-b422-e0f92abe1b3c-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"TaperedMarker-d90c6ad8-af0f-4b54-b422-e0f92abe1b3c/TaperedMarker-d90c6ad8-af0f-4b54-b422-e0f92abe1b3c-v10.0-vertex.glsl",fragmentShader:"TaperedMarker-d90c6ad8-af0f-4b54-b422-e0f92abe1b3c/TaperedMarker-d90c6ad8-af0f-4b54-b422-e0f92abe1b3c-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},TaperedMarker_Flat:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"TaperedMarker_Flat-1a26b8c0-8a07-4f8a-9fac-d2ef36e0cad0/TaperedMarker_Flat-1a26b8c0-8a07-4f8a-9fac-d2ef36e0cad0-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"TaperedMarker_Flat-1a26b8c0-8a07-4f8a-9fac-d2ef36e0cad0/TaperedMarker_Flat-1a26b8c0-8a07-4f8a-9fac-d2ef36e0cad0-v10.0-vertex.glsl",fragmentShader:"TaperedMarker_Flat-1a26b8c0-8a07-4f8a-9fac-d2ef36e0cad0/TaperedMarker_Flat-1a26b8c0-8a07-4f8a-9fac-d2ef36e0cad0-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},ThickPaint:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.001,.0078,1024,128)},u_BumpMap:{value:"ThickPaint-75b32cf0-fdd6-4d89-a64b-e2a00b247b0f/ThickPaint-75b32cf0-fdd6-4d89-a64b-e2a00b247b0f-v10.0-BumpMap.png"},u_MainTex:{value:"ThickPaint-75b32cf0-fdd6-4d89-a64b-e2a00b247b0f/ThickPaint-75b32cf0-fdd6-4d89-a64b-e2a00b247b0f-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"ThickPaint-75b32cf0-fdd6-4d89-a64b-e2a00b247b0f/ThickPaint-75b32cf0-fdd6-4d89-a64b-e2a00b247b0f-v10.0-vertex.glsl",fragmentShader:"ThickPaint-75b32cf0-fdd6-4d89-a64b-e2a00b247b0f/ThickPaint-75b32cf0-fdd6-4d89-a64b-e2a00b247b0f-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Toon:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0}},vertexShader:"Toon-4391385a-df73-4396-9e33-31e4e4930b27/Toon-4391385a-df73-4396-9e33-31e4e4930b27-v10.0-vertex.glsl",fragmentShader:"Toon-4391385a-df73-4396-9e33-31e4e4930b27/Toon-4391385a-df73-4396-9e33-31e4e4930b27-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0},UnlitHull:{uniforms:{u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0}},vertexShader:"UnlitHull-a8fea537-da7c-4d4b-817f-24f074725d6d/UnlitHull-a8fea537-da7c-4d4b-817f-24f074725d6d-v10.0-vertex.glsl",fragmentShader:"UnlitHull-a8fea537-da7c-4d4b-817f-24f074725d6d/UnlitHull-a8fea537-da7c-4d4b-817f-24f074725d6d-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0},VelvetInk:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"VelvetInk-d229d335-c334-495a-a801-660ac8a87360/VelvetInk-d229d335-c334-495a-a801-660ac8a87360-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"VelvetInk-d229d335-c334-495a-a801-660ac8a87360/VelvetInk-d229d335-c334-495a-a801-660ac8a87360-v10.0-vertex.glsl",fragmentShader:"VelvetInk-d229d335-c334-495a-a801-660ac8a87360/VelvetInk-d229d335-c334-495a-a801-660ac8a87360-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2,extensions:{derivatives:true}},Waveform:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_time:{value:new Vector4},u_MainTex:{value:"Waveform-10201aa3-ebc2-42d8-84b7-2e63f6eeb8ab/Waveform-10201aa3-ebc2-42d8-84b7-2e63f6eeb8ab-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Waveform-10201aa3-ebc2-42d8-84b7-2e63f6eeb8ab/Waveform-10201aa3-ebc2-42d8-84b7-2e63f6eeb8ab-v10.0-vertex.glsl",fragmentShader:"Waveform-10201aa3-ebc2-42d8-84b7-2e63f6eeb8ab/Waveform-10201aa3-ebc2-42d8-84b7-2e63f6eeb8ab-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2,extensions:{derivatives:true}},WetPaint:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.001,.0078,1024,128)},u_BumpMap:{value:"WetPaint-b67c0e81-ce6d-40a8-aeb0-ef036b081aa3/WetPaint-b67c0e81-ce6d-40a8-aeb0-ef036b081aa3-v10.0-BumpMap.png"},u_MainTex:{value:"WetPaint-b67c0e81-ce6d-40a8-aeb0-ef036b081aa3/WetPaint-b67c0e81-ce6d-40a8-aeb0-ef036b081aa3-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"WetPaint-b67c0e81-ce6d-40a8-aeb0-ef036b081aa3/WetPaint-b67c0e81-ce6d-40a8-aeb0-ef036b081aa3-v10.0-vertex.glsl",fragmentShader:"WetPaint-b67c0e81-ce6d-40a8-aeb0-ef036b081aa3/WetPaint-b67c0e81-ce6d-40a8-aeb0-ef036b081aa3-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},WigglyGraphite:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_time:{value:new Vector4},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"WigglyGraphite-5347acf0-a8e2-47b6-8346-30c70719d763/WigglyGraphite-5347acf0-a8e2-47b6-8346-30c70719d763-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"WigglyGraphite-5347acf0-a8e2-47b6-8346-30c70719d763/WigglyGraphite-5347acf0-a8e2-47b6-8346-30c70719d763-v10.0-vertex.glsl",fragmentShader:"WigglyGraphite-5347acf0-a8e2-47b6-8346-30c70719d763/WigglyGraphite-5347acf0-a8e2-47b6-8346-30c70719d763-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Wire:{uniforms:{u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0}},vertexShader:"Wire-4391385a-cf83-4396-9e33-31e4e4930b27/Wire-4391385a-cf83-4396-9e33-31e4e4930b27-v10.0-vertex.glsl",fragmentShader:"Wire-4391385a-cf83-4396-9e33-31e4e4930b27/Wire-4391385a-cf83-4396-9e33-31e4e4930b27-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0}};var Loader=function(){function Loader(scene,sceneCamera,cameraControls){this.sceneColor=new Color("#000000");this.loaded=false;this.updateableMeshes=[];var manager=new LoadingManager;manager.onStart=function(){var _a,_b;(_a=document.getElementById("loadscreen"))===null||_a===void 0?void 0:_a.classList.remove("fade-out");(_b=document.getElementById("loadscreen"))===null||_b===void 0?void 0:_b.classList.remove("loaded")};manager.onLoad=function(){var _a;(_a=document.getElementById("loadscreen"))===null||_a===void 0?void 0:_a.classList.add("fade-out")};this.tiltLoader=new TiltLoader(manager);this.gltfLoader=new GLTFLoader(manager);this.tiltShaderLoader=new TiltShaderLoader(manager);this.tiltShaderLoader.setPath("https://storage.googleapis.com/static.icosa.gallery/brushes/");var dracoLoader=new DRACOLoader;dracoLoader.setDecoderPath("https://www.gstatic.com/draco/v1/decoders/");this.gltfLoader.setDRACOLoader(dracoLoader);this.legacygltf=new LegacyGLTFLoader(manager);this.scene=scene;this.sceneCamera=sceneCamera;this.cameraControls=cameraControls}Loader.prototype.update=function(deltaTime){var _this=this;if(!this.loaded)return;var time=new Vector4(deltaTime/20,deltaTime,deltaTime*2,deltaTime*3);this.updateableMeshes.forEach((function(mesh){var material=mesh.material;switch(material.name){case"material_DiamondHull":material.uniforms["cameraPosition"].value=_this.sceneCamera.position;material.uniforms["u_time"].value=time;break;case"material_ChromaticWave":case"material_Comet":case"material_Disco":case"material_Electricity":case"material_Embers":case"material_Fire":case"material_Hypercolor":case"material_LightWire":case"material_NeonPulse":case"material_Plasma":case"material_Rainbow":case"material_Snow":case"material_Stars":case"material_Streamers":case"material_Waveform":case"material_WigglyGraphite":material.uniforms["u_time"].value=time;break}}))};Loader.prototype.initGltf2=function(url){var _this=this;this.gltfLoader.load(url,(function(gltf){var _a,_b;_this.loadedModel=gltf.scene;var light0transform=(_a=_this.loadedModel.getObjectByName("node_SceneLight_0_i1"))===null||_a===void 0?void 0:_a.modelViewMatrix;var light1transform=(_b=_this.loadedModel.getObjectByName("node_SceneLight_1_i2"))===null||_b===void 0?void 0:_b.modelViewMatrix;_this.loadedModel.traverse((function(object){return __awaiter(_this,void 0,void 0,(function(){var mesh,material,shader,_a;return __generator(this,(function(_b){switch(_b.label){case 0:if(!(object.type==="Mesh"))return[3,124];mesh=object;material=mesh.material;_a=material.name;switch(_a){case"brush_BlocksBasic":return[3,1];case"brush_BlocksGem":return[3,3];case"brush_BlocksGlass":return[3,5];case"brush_Bubbles":return[3,7];case"brush_CelVinyl":return[3,9];case"brush_ChromaticWave":return[3,11];case"brush_CoarseBristles":return[3,13];case"brush_Comet":return[3,15];case"brush_DiamondHull":return[3,17];case"brush_Disco":return[3,19];case"brush_DotMarker":return[3,21];case"brush_Dots":return[3,23];case"brush_DoubleTaperedFlat":return[3,25];case"brush_DoubleTaperedMarker":return[3,27];case"brush_DuctTape":return[3,29];case"brush_Electricity":return[3,31];case"brush_Embers":return[3,33];case"brush_EnvironmentDiffuse":return[3,35];case"brush_EnvironmentDiffuseLightMap":return[3,37];case"brush_Fire":return[3,39];case"brush_Flat":return[3,41];case"brush_FlatDeprecated":return[3,43];case"brush_Highlighter":return[3,45];case"brush_Hypercolor":return[3,47];case"brush_HyperGrid":return[3,49];case"brush_Icing":return[3,51];case"brush_Ink":return[3,53];case"brush_Leaves":return[3,55];case"brush_Light":return[3,57];case"brush_LightWire":return[3,59];case"brush_Lofted":return[3,61];case"brush_Marker":return[3,63];case"brush_MatteHull":return[3,65];case"brush_NeonPulse":return[3,67];case"brush_OilPaint":return[3,69];case"brush_Paper":return[3,71];case"brush_PbrTemplate":return[3,73];case"brush_PbrTransparentTemplate":return[3,75];case"brush_Petal":return[3,77];case"brush_Plasma":return[3,79];case"brush_Rainbow":return[3,81];case"brush_ShinyHull":return[3,83];case"brush_Smoke":return[3,85];case"brush_Snow":return[3,87];case"brush_SoftHighlighter":return[3,89];case"brush_Spikes":return[3,91];case"brush_Splatter":return[3,93];case"brush_Stars":return[3,95];case"brush_Streamers":return[3,97];case"brush_Taffy":return[3,99];case"brush_TaperedFlat":return[3,101];case"brush_TaperedMarker":return[3,103];case"brush_TaperedMarker_Flat":return[3,105];case"brush_ThickPaint":return[3,107];case"brush_Toon":return[3,109];case"brush_UnlitHull":return[3,111];case"brush_VelvetInk":return[3,113];case"brush_Waveform":return[3,115];case"brush_WetPaint":return[3,117];case"brush_WigglyGraphite":return[3,119];case"brush_Wire":return[3,121]}return[3,123];case 1:mesh.geometry.name="geometry_BlocksBasic";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));return[4,this.tiltShaderLoader.loadAsync("BlocksBasic")];case 2:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_BlocksBasic";return[3,124];case 3:mesh.geometry.name="geometry_BlocksGem";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));return[4,this.tiltShaderLoader.loadAsync("BlocksGem")];case 4:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_BlocksGem";return[3,124];case 5:mesh.geometry.name="geometry_BlocksGlass";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));return[4,this.tiltShaderLoader.loadAsync("BlocksGlass")];case 6:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_BlocksGlass";return[3,124];case 7:mesh.geometry.name="geometry_Bubbles";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("_tb_unity_normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));mesh.geometry.setAttribute("a_texcoord1",mesh.geometry.getAttribute("_tb_unity_texcoord_1"));return[4,this.tiltShaderLoader.loadAsync("Bubbles")];case 8:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Bubbles";return[3,124];case 9:mesh.geometry.name="geometry_CelVinyl";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("CelVinyl")];case 10:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_CelVinyl";return[3,124];case 11:mesh.geometry.name="geometry_ChromaticWave";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("ChromaticWave")];case 12:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_ChromaticWave";this.updateableMeshes.push(mesh);return[3,124];case 13:mesh.geometry.name="geometry_CoarseBristles";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("CoarseBristles")];case 14:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_CoarseBristles";return[3,124];case 15:mesh.geometry.name="geometry_Comet";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Comet")];case 16:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Comet";this.updateableMeshes.push(mesh);return[3,124];case 17:mesh.geometry.name="geometry_DiamondHull";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("DiamondHull")];case 18:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_DiamondHull";this.updateableMeshes.push(mesh);return[3,124];case 19:mesh.geometry.name="geometry_Disco";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Disco")];case 20:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Disco";this.updateableMeshes.push(mesh);return[3,124];case 21:mesh.geometry.name="geometry_DotMarker";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("DotMarker")];case 22:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_DotMarker";return[3,124];case 23:mesh.geometry.name="geometry_Dots";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("_tb_unity_normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));mesh.geometry.setAttribute("a_texcoord1",mesh.geometry.getAttribute("_tb_unity_texcoord_1"));return[4,this.tiltShaderLoader.loadAsync("Dots")];case 24:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Dots";return[3,124];case 25:mesh.geometry.name="geometry_DoubleTaperedFlat";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("DoubleTaperedFlat")];case 26:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_DoubleTaperedFlat";return[3,124];case 27:mesh.geometry.name="geometry_DoubleTaperedMarker";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("DoubleTaperedMarker")];case 28:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_DoubleTaperedMarker";return[3,124];case 29:mesh.geometry.name="geometry_DuctTape";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("DuctTape")];case 30:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_DuctTape";return[3,124];case 31:mesh.geometry.name="geometry_Electricity";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));mesh.geometry.setAttribute("a_texcoord1",mesh.geometry.getAttribute("_tb_unity_texcoord_1"));return[4,this.tiltShaderLoader.loadAsync("Electricity")];case 32:shader=_b.sent();mesh.material=shader;mesh.material.name="material_Electricity";this.updateableMeshes.push(mesh);return[3,124];case 33:mesh.geometry.name="geometry_Embers";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("_tb_unity_normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));mesh.geometry.setAttribute("a_texcoord1",mesh.geometry.getAttribute("_tb_unity_texcoord_1"));return[4,this.tiltShaderLoader.loadAsync("Embers")];case 34:shader=_b.sent();mesh.material=shader;mesh.material.name="material_Embers";this.updateableMeshes.push(mesh);return[3,124];case 35:mesh.geometry.name="geometry_EnvironmentDiffuse";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("EnvironmentDiffuse")];case 36:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_EnvironmentDiffuse";return[3,124];case 37:mesh.geometry.name="geometry_EnvironmentDiffuseLightMap";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("EnvironmentDiffuseLightMap")];case 38:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_EnvironmentDiffuseLightMap";return[3,124];case 39:mesh.geometry.name="geometry_Fire";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Fire")];case 40:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Fire";this.updateableMeshes.push(mesh);return[3,124];case 41:mesh.geometry.name="geometry_Flat";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Flat")];case 42:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Flat";return[3,124];case 43:mesh.geometry.name="geometry_FlatDeprecated";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("FlatDeprecated")];case 44:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_FlatDeprecated";this.updateableMeshes.push(mesh);return[3,124];case 45:mesh.geometry.name="geometry_Highlighter";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Highlighter")];case 46:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Highlighter";return[3,124];case 47:mesh.geometry.name="geometry_Hypercolor";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Hypercolor")];case 48:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Hypercolor";this.updateableMeshes.push(mesh);return[3,124];case 49:mesh.geometry.name="geometry_HyperGrid";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));mesh.geometry.setAttribute("a_texcoord1",mesh.geometry.getAttribute("_tb_unity_texcoord_1"));return[4,this.tiltShaderLoader.loadAsync("HyperGrid")];case 50:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_HyperGrid";return[3,124];case 51:mesh.geometry.name="geometry_Icing";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Icing")];case 52:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Icing";return[3,124];case 53:mesh.geometry.name="geometry_Ink";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Ink")];case 54:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Ink";return[3,124];case 55:mesh.geometry.name="geometry_Leaves";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Leaves")];case 56:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Leaves";return[3,124];case 57:mesh.geometry.name="geometry_Light";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Light")];case 58:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Light";return[3,124];case 59:mesh.geometry.name="geometry_LightWire";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("LightWire")];case 60:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_LightWire";this.updateableMeshes.push(mesh);return[3,124];case 61:mesh.geometry.name="geometry_Lofted";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Lofted")];case 62:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Lofted";return[3,124];case 63:mesh.geometry.name="geometry_Marker";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Marker")];case 64:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Marker";return[3,124];case 65:mesh.geometry.name="geometry_MatteHull";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));return[4,this.tiltShaderLoader.loadAsync("MatteHull")];case 66:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_MatteHull";return[3,124];case 67:mesh.geometry.name="geometry_NeonPulse";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("NeonPulse")];case 68:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_NeonPulse";this.updateableMeshes.push(mesh);return[3,124];case 69:mesh.geometry.name="geometry_OilPaint";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("OilPaint")];case 70:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_OilPaint";return[3,124];case 71:mesh.geometry.name="geometry_Paper";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Paper")];case 72:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Paper";return[3,124];case 73:mesh.geometry.name="geometry_PbrTemplate";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("PbrTemplate")];case 74:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_PbrTemplate";return[3,124];case 75:mesh.geometry.name="geometry_PbrTransparentTemplate";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("PbrTransparentTemplate")];case 76:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_PbrTransparentTemplate";return[3,124];case 77:mesh.geometry.name="geometry_Petal";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Petal")];case 78:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Petal";return[3,124];case 79:mesh.geometry.name="geometry_Plasma";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Plasma")];case 80:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Plasma";this.updateableMeshes.push(mesh);return[3,124];case 81:mesh.geometry.name="geometry_Rainbow";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Rainbow")];case 82:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Rainbow";this.updateableMeshes.push(mesh);return[3,124];case 83:mesh.geometry.name="geometry_ShinyHull";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("ShinyHull")];case 84:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_ShinyHull";return[3,124];case 85:mesh.geometry.name="geometry_Smoke";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("_tb_unity_normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));mesh.geometry.setAttribute("a_texcoord1",mesh.geometry.getAttribute("_tb_unity_texcoord_1"));return[4,this.tiltShaderLoader.loadAsync("Smoke")];case 86:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Smoke";return[3,124];case 87:mesh.geometry.name="geometry_Snow";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("_tb_unity_normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));mesh.geometry.setAttribute("a_texcoord1",mesh.geometry.getAttribute("_tb_unity_texcoord_1"));return[4,this.tiltShaderLoader.loadAsync("Snow")];case 88:shader=_b.sent();mesh.material=shader;mesh.material.name="material_Snow";this.updateableMeshes.push(mesh);return[3,124];case 89:mesh.geometry.name="geometry_SoftHighlighter";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("SoftHighlighter")];case 90:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_SoftHighlighter";return[3,124];case 91:mesh.geometry.name="geometry_Spikes";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Spikes")];case 92:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Spikes";return[3,124];case 93:mesh.geometry.name="geometry_Splatter";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Splatter")];case 94:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Splatter";return[3,124];case 95:mesh.geometry.name="geometry_Stars";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("_tb_unity_normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));mesh.geometry.setAttribute("a_texcoord1",mesh.geometry.getAttribute("_tb_unity_texcoord_1"));return[4,this.tiltShaderLoader.loadAsync("Stars")];case 96:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Stars";this.updateableMeshes.push(mesh);return[3,124];case 97:mesh.geometry.name="geometry_Streamers";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Streamers")];case 98:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Streamers";this.updateableMeshes.push(mesh);return[3,124];case 99:mesh.geometry.name="geometry_Taffy";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("DiamondHull")];case 100:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_DiamondHull";this.updateableMeshes.push(mesh);return[3,124];case 101:mesh.geometry.name="geometry_TaperedFlat";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("TaperedFlat")];case 102:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_TaperedFlat";return[3,124];case 103:mesh.geometry.name="geometry_TaperedMarker";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("TaperedMarker")];case 104:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_TaperedMarker";return[3,124];case 105:mesh.geometry.name="geometry_Flat";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Flat")];case 106:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Flat";return[3,124];case 107:mesh.geometry.name="geometry_ThickPaint";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("ThickPaint")];case 108:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_ThickPaint";return[3,124];case 109:mesh.geometry.name="geometry_Toon";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));return[4,this.tiltShaderLoader.loadAsync("Toon")];case 110:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Toon";return[3,124];case 111:mesh.geometry.name="geometry_UnlitHull";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));return[4,this.tiltShaderLoader.loadAsync("UnlitHull")];case 112:shader=_b.sent();mesh.material=shader;mesh.material.name="material_UnlitHull";return[3,124];case 113:mesh.geometry.name="geometry_VelvetInk";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("VelvetInk")];case 114:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_VelvetInk";return[3,124];case 115:mesh.geometry.name="geometry_Waveform";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Waveform")];case 116:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Waveform";this.updateableMeshes.push(mesh);return[3,124];case 117:mesh.geometry.name="geometry_WetPaint";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("WetPaint")];case 118:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_WetPaint";return[3,124];case 119:mesh.geometry.name="geometry_WigglyGraphite";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("WigglyGraphite")];case 120:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_WigglyGraphite";this.updateableMeshes.push(mesh);return[3,124];case 121:mesh.geometry.name="geometry_Wire";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));return[4,this.tiltShaderLoader.loadAsync("Wire")];case 122:shader=_b.sent();mesh.material=shader;mesh.material.name="material_Wire";return[3,124];case 123:mesh.material=new MeshStandardMaterial({visible:false});_b.label=124;case 124:return[2]}}))}))}));_this.finishSetup(_this.loadedModel)}))};Loader.prototype.finishSetup=function(model){this.scene.clear();this.scene.background=this.sceneColor;this.scene.add(model);var box=(new Box3).setFromObject(model);var boxSize=box.getSize(new Vector3).length();var boxCenter=box.getCenter(new Vector3);this.cameraControls.minDistance=boxSize*.01;this.cameraControls.maxDistance=boxSize;var midDistance=this.cameraControls.minDistance+(this.cameraControls.maxDistance-this.cameraControls.minDistance)/2;this.cameraControls.setTarget(boxCenter.x,boxCenter.y,boxCenter.z);this.cameraControls.dollyTo(midDistance,true);this.cameraControls.saveState();var keyLightNode=new DirectionalLight(16772829,.325);keyLightNode.position.set(-19.021,34.882,-19.134);keyLightNode.scale.set(0,0,16.828);this.scene.add(keyLightNode);var headLightNode=new DirectionalLight(16772829,.25);headLightNode.position.set(-16.661,8.33,8.33);headLightNode.scale.set(1,1,1);this.scene.add(headLightNode);var __hemi__=new HemisphereLight(15724543,11711154,.6);__hemi__.position.set(0,1,0);this.scene.add(__hemi__);this.loaded=true};Loader.prototype.initTilt=function(url){var _this=this;this.tiltLoader.load(url,(function(tilt){_this.loadedModel=tilt;_this.finishSetup(_this.loadedModel)}))};Loader.prototype.initPolyGltf=function(url){var _this=this;this.legacygltf.load(url,(function(gltf){_this.loadedModel=gltf.scene;_this.finishSetup(_this.loadedModel)}))};Loader.prototype.initPolyGltf2=function(url){var _this=this;this.gltfLoader.load(url,(function(gltf){_this.loadedModel=gltf.scene;_this.finishSetup(_this.loadedModel)}))};Loader.prototype.loadGLTF=function(url){this.initGltf2(url)};Loader.prototype.loadIcosaAsset=function(userID,assetID,format){var http=new XMLHttpRequest;var url="https://api.icosa.gallery/assets/"+userID+"/"+assetID;var that=this;http.onreadystatechange=function(){if(this.readyState==4&&this.status==200){var icosaAsset=Convert.toIcosa(this.response);var types_1={};icosaAsset.formats.forEach((function(newformat){types_1[newformat.format]=newformat}));if(format){switch(format){case"GLTF2":if(types_1.hasOwnProperty("GLTF2")){that.initPolyGltf2(types_1.GLTF2.url);return}break;case"GLTF":if(types_1.hasOwnProperty("GLTF")){that.initPolyGltf(types_1.GLTF.url);return}break;case"TILT":if(types_1.hasOwnProperty("TILT")){that.initTilt(types_1.TILT.url);return}break}}if(types_1.hasOwnProperty("GLTF2")){that.initGltf2(types_1.GLTF2.url);return}if(types_1.hasOwnProperty("GLTF")){that.initPolyGltf(types_1.GLTF.url);return}if(types_1.hasOwnProperty("TILT")){that.initTilt(types_1.TILT.url);return}}};http.open("GET",url,true);http.send()};Loader.prototype.loadIcosaUrl=function(url,format){var splitURL=url.split("/");if(splitURL[2]==="icosa.gallery")this.loadIcosaAsset(splitURL[4],splitURL[5],format)};Loader.prototype.loadPolyAsset=function(assetID,format){var http=new XMLHttpRequest;var url="https://api.icosa.gallery/poly/assets/"+assetID;var that=this;http.onreadystatechange=function(){if(this.readyState==4&&this.status==200){var polyAsset=Convert.toPoly(this.response);var types_2={};if(polyAsset.presentationParams.backgroundColor){that.sceneColor=new Color(polyAsset.presentationParams.backgroundColor)}polyAsset.formats.forEach((function(format){types_2[format.formatType]=format}));if(format){switch(format){case"GLTF2":if(types_2.hasOwnProperty("GLTF2")){that.initPolyGltf2(types_2.GLTF2.root.url);return}break;case"GLTF":if(types_2.hasOwnProperty("GLTF")){that.initPolyGltf(types_2.GLTF.root.url);return}break;case"TILT":if(types_2.hasOwnProperty("TILT")){that.initTilt(types_2.TILT.root.url);return}break}}if(types_2.hasOwnProperty("GLTF2")){that.initPolyGltf2(types_2.GLTF2.root.url);return}if(types_2.hasOwnProperty("GLTF")){that.initPolyGltf(types_2.GLTF.root.url);return}if(types_2.hasOwnProperty("TILT")){that.initTilt(types_2.TILT.root.url);return}}};http.open("GET",url,true);http.send()};Loader.prototype.loadPolyUrl=function(url,format){var splitURL=url.split("/");if(splitURL[2]==="poly.google.com")this.loadPolyAsset(splitURL[4],format)};Loader.prototype.loadPolyTilt=function(url){this.loadPolyUrl(url,"TILT")};Loader.prototype.loadPolyGltf=function(url){this.loadPolyUrl(url,"GLTF")};return Loader}(); + */var durl=function(c){return URL.createObjectURL(new Blob([c],{type:"text/javascript"}))};try{URL.revokeObjectURL(durl(""))}catch(e){durl=function(c){return"data:application/javascript;charset=UTF-8,"+encodeURI(c)}}var u8=Uint8Array,u16=Uint16Array,u32=Uint32Array;var fleb=new u8([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]);var fdeb=new u8([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]);var clim=new u8([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);var freb=function(eb,start){var b=new u16(31);for(var i=0;i<31;++i){b[i]=start+=1<>>1|(i&21845)<<1;x=(x&52428)>>>2|(x&13107)<<2;x=(x&61680)>>>4|(x&3855)<<4;rev[i]=((x&65280)>>>8|(x&255)<<8)>>>1}var hMap=function(cd,mb,r){var s=cd.length;var i=0;var l=new u16(mb);for(;i>>rvb]=sv}}}}else{co=new u16(s);for(i=0;i>>15-cd[i]}}}return co};var flt=new u8(288);for(var i=0;i<144;++i)flt[i]=8;for(var i=144;i<256;++i)flt[i]=9;for(var i=256;i<280;++i)flt[i]=7;for(var i=280;i<288;++i)flt[i]=8;var fdt=new u8(32);for(var i=0;i<32;++i)fdt[i]=5;var flrm=hMap(flt,9,1);var fdrm=hMap(fdt,5,1);var max=function(a){var m=a[0];for(var i=1;im)m=a[i]}return m};var bits=function(d,p,m){var o=p/8|0;return(d[o]|d[o+1]<<8)>>(p&7)&m};var bits16=function(d,p){var o=p/8|0;return(d[o]|d[o+1]<<8|d[o+2]<<16)>>(p&7)};var shft=function(p){return(p/8|0)+(p&7&&1)};var slc=function(v,s,e){if(s==null||s<0)s=0;if(e==null||e>v.length)e=v.length;var n=new(v instanceof u16?u16:v instanceof u32?u32:u8)(e-s);n.set(v.subarray(s,e));return n};var inflt=function(dat,buf,st){var sl=dat.length;if(!sl||st&&!st.l&&sl<5)return buf||new u8(0);var noBuf=!buf||st;var noSt=!st||st.i;if(!st)st={};if(!buf)buf=new u8(sl*3);var cbuf=function(l){var bl=buf.length;if(l>bl){var nbuf=new u8(Math.max(bl*2,l));nbuf.set(buf);buf=nbuf}};var final=st.f||0,pos=st.p||0,bt=st.b||0,lm=st.l,dm=st.d,lbt=st.m,dbt=st.n;var tbts=sl*8;do{if(!lm){st.f=final=bits(dat,pos,1);var type=bits(dat,pos+1,3);pos+=3;if(!type){var s=shft(pos)+4,l=dat[s-4]|dat[s-3]<<8,t=s+l;if(t>sl){if(noSt)throw"unexpected EOF";break}if(noBuf)cbuf(bt+l);buf.set(dat.subarray(s,t),bt);st.b=bt+=l,st.p=pos=t*8;continue}else if(type==1)lm=flrm,dm=fdrm,lbt=9,dbt=5;else if(type==2){var hLit=bits(dat,pos,31)+257,hcLen=bits(dat,pos+10,15)+4;var tl=hLit+bits(dat,pos+5,31)+1;pos+=14;var ldt=new u8(tl);var clt=new u8(19);for(var i=0;i>>4;if(s<16){ldt[i++]=s}else{var c=0,n=0;if(s==16)n=3+bits(dat,pos,3),pos+=2,c=ldt[i-1];else if(s==17)n=3+bits(dat,pos,7),pos+=3;else if(s==18)n=11+bits(dat,pos,127),pos+=7;while(n--)ldt[i++]=c}}var lt=ldt.subarray(0,hLit),dt=ldt.subarray(hLit);lbt=max(lt);dbt=max(dt);lm=hMap(lt,lbt,1);dm=hMap(dt,dbt,1)}else throw"invalid block type";if(pos>tbts){if(noSt)throw"unexpected EOF";break}}if(noBuf)cbuf(bt+131072);var lms=(1<>>4;pos+=c&15;if(pos>tbts){if(noSt)throw"unexpected EOF";break}if(!c)throw"invalid length/literal";if(sym<256)buf[bt++]=sym;else if(sym==256){lpos=pos,lm=null;break}else{var add=sym-254;if(sym>264){var i=sym-257,b=fleb[i];add=bits(dat,pos,(1<>>4;if(!d)throw"invalid distance";pos+=d&15;var dt=fd[dsym];if(dsym>3){var b=fdeb[dsym];dt+=bits16(dat,pos)&(1<tbts){if(noSt)throw"unexpected EOF";break}if(noBuf)cbuf(bt+131072);var end=bt+add;for(;bt>>0};var b8=function(d,b){return b4(d,b)+b4(d,b+4)*4294967296};function inflateSync(data,out){return inflt(data,out)}var td=typeof TextDecoder!="undefined"&&new TextDecoder;var tds=0;try{td.decode(et,{stream:true});tds=1}catch(e){}var dutf8=function(d){for(var r="",i=0;;){var c=d[i++];var eb=(c>127)+(c>223)+(c>239);if(i+eb>d.length)return[r,slc(d,i-1)];if(!eb)r+=String.fromCharCode(c);else if(eb==3){c=((c&15)<<18|(d[i++]&63)<<12|(d[i++]&63)<<6|d[i++]&63)-65536,r+=String.fromCharCode(55296|c>>10,56320|c&1023)}else if(eb&1)r+=String.fromCharCode((c&31)<<6|d[i++]&63);else r+=String.fromCharCode((c&15)<<12|(d[i++]&63)<<6|d[i++]&63)}};function strFromU8(dat,latin1){if(latin1){var r="";for(var i=0;i65558)throw"invalid zip file"}var c=b2(data,e+8);if(!c)return{};var o=b4(data,e+16);var z=o==4294967295;if(z){e=b4(data,e-12);if(b4(data,e)!=101075792)throw"invalid zip file";c=b4(data,e+32);o=b4(data,e+48)}for(var i=0;i0)offset_stroke_mask+=4;if((controlpoint_mask&byte)>0)offset_controlpoint_mask+=4}offset=offset+28+offset_stroke_mask+4;const num_control_points=data.getInt32(offset,true);const positions=new Float32Array(num_control_points*3);const quaternions=new Float32Array(num_control_points*4);offset=offset+4;for(let j=0,k=0;j=0){extensions[EXTENSIONS$1.KHR_MATERIALS_COMMON]=new GLTFMaterialsCommonExtension(json)}var parser=new GLTFParser$1(json,extensions,{crossOrigin:this.crossOrigin,manager:this.manager,path:path||this.resourcePath||""});parser.parse((function(scene,scenes,cameras,animations){var glTF={scene:scene,scenes:scenes,cameras:cameras,animations:animations};callback(glTF)}))}}function GLTFRegistry$1(){var objects={};return{get:function(key){return objects[key]},add:function(key,object){objects[key]=object},remove:function(key){delete objects[key]},removeAll:function(){objects={}},update:function(scene,camera){for(var name in objects){var object=objects[name];if(object.update){object.update(scene,camera)}}}}}class GLTFShader{constructor(targetNode,allNodes){var boundUniforms={};var uniforms=targetNode.material.uniforms;for(var uniformId in uniforms){var uniform=uniforms[uniformId];if(uniform.semantic){var sourceNodeRef=uniform.node;var sourceNode=targetNode;if(sourceNodeRef){sourceNode=allNodes[sourceNodeRef]}boundUniforms[uniformId]={semantic:uniform.semantic,sourceNode:sourceNode,targetNode:targetNode,uniform:uniform}}}this.boundUniforms=boundUniforms;this._m4=new Matrix4}update(scene,camera){var boundUniforms=this.boundUniforms;for(var name in boundUniforms){var boundUniform=boundUniforms[name];switch(boundUniform.semantic){case"MODELVIEW":var m4=boundUniform.uniform.value;m4.multiplyMatrices(camera.matrixWorldInverse,boundUniform.sourceNode.matrixWorld);break;case"MODELVIEWINVERSETRANSPOSE":var m3=boundUniform.uniform.value;this._m4.multiplyMatrices(camera.matrixWorldInverse,boundUniform.sourceNode.matrixWorld);m3.getNormalMatrix(this._m4);break;case"PROJECTION":var m4=boundUniform.uniform.value;m4.copy(camera.projectionMatrix);break;case"JOINTMATRIX":var m4v=boundUniform.uniform.value;for(var mi=0;mi=2.0 are supported."));return}const parser=new GLTFParser(json,{path:path||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});parser.fileLoader.setRequestHeader(this.requestHeader);for(let i=0;i=0&&plugins[extensionName]===undefined){console.warn('THREE.GLTFLoader: Unknown extension "'+extensionName+'".')}}}}parser.setExtensions(extensions);parser.setPlugins(plugins);parser.parse(onLoad,onError)}}function GLTFRegistry(){let objects={};return{get:function(key){return objects[key]},add:function(key,object){objects[key]=object},remove:function(key){delete objects[key]},removeAll:function(){objects={}}}}const EXTENSIONS={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS_PUNCTUAL:"KHR_lights_punctual",KHR_MATERIALS_CLEARCOAT:"KHR_materials_clearcoat",KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS:"KHR_materials_pbrSpecularGlossiness",KHR_MATERIALS_TRANSMISSION:"KHR_materials_transmission",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",KHR_TEXTURE_BASISU:"KHR_texture_basisu",KHR_TEXTURE_TRANSFORM:"KHR_texture_transform",KHR_MESH_QUANTIZATION:"KHR_mesh_quantization",EXT_TEXTURE_WEBP:"EXT_texture_webp",EXT_MESHOPT_COMPRESSION:"EXT_meshopt_compression"};class GLTFLightsExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_LIGHTS_PUNCTUAL;this.cache={refs:{},uses:{}}}_markDefs(){const parser=this.parser;const nodeDefs=this.parser.json.nodes||[];for(let nodeIndex=0,nodeLength=nodeDefs.length;nodeIndex=0){throw new Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures")}else{return null}}return parser.loadTextureImage(textureIndex,source,loader)}}class GLTFTextureWebPExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.EXT_TEXTURE_WEBP;this.isSupported=null}loadTexture(textureIndex){const name=this.name;const parser=this.parser;const json=parser.json;const textureDef=json.textures[textureIndex];if(!textureDef.extensions||!textureDef.extensions[name]){return null}const extension=textureDef.extensions[name];const source=json.images[extension.source];let loader=parser.textureLoader;if(source.uri){const handler=parser.options.manager.getHandler(source.uri);if(handler!==null)loader=handler}return this.detectSupport().then((function(isSupported){if(isSupported)return parser.loadTextureImage(textureIndex,source,loader);if(json.extensionsRequired&&json.extensionsRequired.indexOf(name)>=0){throw new Error("THREE.GLTFLoader: WebP required by asset but unsupported.")}return parser.loadTexture(textureIndex)}))}detectSupport(){if(!this.isSupported){this.isSupported=new Promise((function(resolve){const image=new Image;image.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA";image.onload=image.onerror=function(){resolve(image.height===1)}}))}return this.isSupported}}class GLTFMeshoptCompression{constructor(parser){this.name=EXTENSIONS.EXT_MESHOPT_COMPRESSION;this.parser=parser}loadBufferView(index){const json=this.parser.json;const bufferView=json.bufferViews[index];if(bufferView.extensions&&bufferView.extensions[this.name]){const extensionDef=bufferView.extensions[this.name];const buffer=this.parser.getDependency("buffer",extensionDef.buffer);const decoder=this.parser.options.meshoptDecoder;if(!decoder||!decoder.supported){if(json.extensionsRequired&&json.extensionsRequired.indexOf(this.name)>=0){throw new Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files")}else{return null}}return Promise.all([buffer,decoder.ready]).then((function(res){const byteOffset=extensionDef.byteOffset||0;const byteLength=extensionDef.byteLength||0;const count=extensionDef.count;const stride=extensionDef.byteStride;const result=new ArrayBuffer(count*stride);const source=new Uint8Array(res[0],byteOffset,byteLength);decoder.decodeGltfBuffer(new Uint8Array(result),count,stride,source,extensionDef.mode,extensionDef.filter);return result}))}else{return null}}}const BINARY_EXTENSION_HEADER_MAGIC="glTF";const BINARY_EXTENSION_HEADER_LENGTH=12;const BINARY_EXTENSION_CHUNK_TYPES={JSON:1313821514,BIN:5130562};class GLTFBinaryExtension{constructor(data){this.name=EXTENSIONS.KHR_BINARY_GLTF;this.content=null;this.body=null;const headerView=new DataView(data,0,BINARY_EXTENSION_HEADER_LENGTH);this.header={magic:LoaderUtils.decodeText(new Uint8Array(data.slice(0,4))),version:headerView.getUint32(4,true),length:headerView.getUint32(8,true)};if(this.header.magic!==BINARY_EXTENSION_HEADER_MAGIC){throw new Error("THREE.GLTFLoader: Unsupported glTF-Binary header.")}else if(this.header.version<2){throw new Error("THREE.GLTFLoader: Legacy binary file detected.")}const chunkContentsLength=this.header.length-BINARY_EXTENSION_HEADER_LENGTH;const chunkView=new DataView(data,BINARY_EXTENSION_HEADER_LENGTH);let chunkIndex=0;while(chunkIndex",specularMapParsFragmentChunk).replace("#include ",glossinessMapParsFragmentChunk).replace("#include ",specularMapFragmentChunk).replace("#include ",glossinessMapFragmentChunk).replace("#include ",lightPhysicalFragmentChunk)};Object.defineProperties(this,{specular:{get:function(){return uniforms.specular.value},set:function(v){uniforms.specular.value=v}},specularMap:{get:function(){return uniforms.specularMap.value},set:function(v){uniforms.specularMap.value=v;if(v){this.defines.USE_SPECULARMAP=""}else{delete this.defines.USE_SPECULARMAP}}},glossiness:{get:function(){return uniforms.glossiness.value},set:function(v){uniforms.glossiness.value=v}},glossinessMap:{get:function(){return uniforms.glossinessMap.value},set:function(v){uniforms.glossinessMap.value=v;if(v){this.defines.USE_GLOSSINESSMAP="";this.defines.USE_UV=""}else{delete this.defines.USE_GLOSSINESSMAP;delete this.defines.USE_UV}}}});delete this.metalness;delete this.roughness;delete this.metalnessMap;delete this.roughnessMap;this.setValues(params)}copy(source){super.copy(source);this.specularMap=source.specularMap;this.specular.copy(source.specular);this.glossinessMap=source.glossinessMap;this.glossiness=source.glossiness;delete this.metalness;delete this.roughness;delete this.metalnessMap;delete this.roughnessMap;return this}}class GLTFMaterialsPbrSpecularGlossinessExtension{constructor(){this.name=EXTENSIONS.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS;this.specularGlossinessParams=["color","map","lightMap","lightMapIntensity","aoMap","aoMapIntensity","emissive","emissiveIntensity","emissiveMap","bumpMap","bumpScale","normalMap","normalMapType","displacementMap","displacementScale","displacementBias","specularMap","specular","glossinessMap","glossiness","alphaMap","envMap","envMapIntensity","refractionRatio"]}getMaterialType(){return GLTFMeshStandardSGMaterial}extendParams(materialParams,materialDef,parser){const pbrSpecularGlossiness=materialDef.extensions[this.name];materialParams.color=new Color(1,1,1);materialParams.opacity=1;const pending=[];if(Array.isArray(pbrSpecularGlossiness.diffuseFactor)){const array=pbrSpecularGlossiness.diffuseFactor;materialParams.color.fromArray(array);materialParams.opacity=array[3]}if(pbrSpecularGlossiness.diffuseTexture!==undefined){pending.push(parser.assignTexture(materialParams,"map",pbrSpecularGlossiness.diffuseTexture))}materialParams.emissive=new Color(0,0,0);materialParams.glossiness=pbrSpecularGlossiness.glossinessFactor!==undefined?pbrSpecularGlossiness.glossinessFactor:1;materialParams.specular=new Color(1,1,1);if(Array.isArray(pbrSpecularGlossiness.specularFactor)){materialParams.specular.fromArray(pbrSpecularGlossiness.specularFactor)}if(pbrSpecularGlossiness.specularGlossinessTexture!==undefined){const specGlossMapDef=pbrSpecularGlossiness.specularGlossinessTexture;pending.push(parser.assignTexture(materialParams,"glossinessMap",specGlossMapDef));pending.push(parser.assignTexture(materialParams,"specularMap",specGlossMapDef))}return Promise.all(pending)}createMaterial(materialParams){const material=new GLTFMeshStandardSGMaterial(materialParams);material.fog=true;material.color=materialParams.color;material.map=materialParams.map===undefined?null:materialParams.map;material.lightMap=null;material.lightMapIntensity=1;material.aoMap=materialParams.aoMap===undefined?null:materialParams.aoMap;material.aoMapIntensity=1;material.emissive=materialParams.emissive;material.emissiveIntensity=1;material.emissiveMap=materialParams.emissiveMap===undefined?null:materialParams.emissiveMap;material.bumpMap=materialParams.bumpMap===undefined?null:materialParams.bumpMap;material.bumpScale=1;material.normalMap=materialParams.normalMap===undefined?null:materialParams.normalMap;material.normalMapType=TangentSpaceNormalMap;if(materialParams.normalScale)material.normalScale=materialParams.normalScale;material.displacementMap=null;material.displacementScale=1;material.displacementBias=0;material.specularMap=materialParams.specularMap===undefined?null:materialParams.specularMap;material.specular=materialParams.specular;material.glossinessMap=materialParams.glossinessMap===undefined?null:materialParams.glossinessMap;material.glossiness=materialParams.glossiness;material.alphaMap=null;material.envMap=materialParams.envMap===undefined?null:materialParams.envMap;material.envMapIntensity=1;material.refractionRatio=.98;return material}}class GLTFMeshQuantizationExtension{constructor(){this.name=EXTENSIONS.KHR_MESH_QUANTIZATION}}class GLTFCubicSplineInterpolant extends Interpolant{constructor(parameterPositions,sampleValues,sampleSize,resultBuffer){super(parameterPositions,sampleValues,sampleSize,resultBuffer)}copySampleValue_(index){const result=this.resultBuffer,values=this.sampleValues,valueSize=this.valueSize,offset=index*valueSize*3+valueSize;for(let i=0;i!==valueSize;i++){result[i]=values[offset+i]}return result}}GLTFCubicSplineInterpolant.prototype.beforeStart_=GLTFCubicSplineInterpolant.prototype.copySampleValue_;GLTFCubicSplineInterpolant.prototype.afterEnd_=GLTFCubicSplineInterpolant.prototype.copySampleValue_;GLTFCubicSplineInterpolant.prototype.interpolate_=function(i1,t0,t,t1){const result=this.resultBuffer;const values=this.sampleValues;const stride=this.valueSize;const stride2=stride*2;const stride3=stride*3;const td=t1-t0;const p=(t-t0)/td;const pp=p*p;const ppp=pp*p;const offset1=i1*stride3;const offset0=offset1-stride3;const s2=-2*ppp+3*pp;const s3=ppp-pp;const s0=1-s2;const s1=s3-pp+p;for(let i=0;i!==stride;i++){const p0=values[offset0+i+stride];const m0=values[offset0+i+stride2]*td;const p1=values[offset1+i+stride];const m1=values[offset1+i]*td;result[i]=s0*p0+s1*m0+s2*p1+s3*m1}return result};const WEBGL_CONSTANTS={FLOAT:5126,FLOAT_MAT3:35675,FLOAT_MAT4:35676,FLOAT_VEC2:35664,FLOAT_VEC3:35665,FLOAT_VEC4:35666,LINEAR:9729,REPEAT:10497,SAMPLER_2D:35678,POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6,UNSIGNED_BYTE:5121,UNSIGNED_SHORT:5123};const WEBGL_COMPONENT_TYPES={5120:Int8Array,5121:Uint8Array,5122:Int16Array,5123:Uint16Array,5125:Uint32Array,5126:Float32Array};const WEBGL_FILTERS={9728:NearestFilter,9729:LinearFilter,9984:NearestMipmapNearestFilter,9985:LinearMipmapNearestFilter,9986:NearestMipmapLinearFilter,9987:LinearMipmapLinearFilter};const WEBGL_WRAPPINGS={33071:ClampToEdgeWrapping,33648:MirroredRepeatWrapping,10497:RepeatWrapping};const WEBGL_TYPE_SIZES={SCALAR:1,VEC2:2,VEC3:3,VEC4:4,MAT2:4,MAT3:9,MAT4:16};const ATTRIBUTES={POSITION:"position",NORMAL:"normal",TANGENT:"tangent",TEXCOORD_0:"uv",TEXCOORD_1:"uv2",COLOR_0:"color",WEIGHTS_0:"skinWeight",JOINTS_0:"skinIndex"};const PATH_PROPERTIES={scale:"scale",translation:"position",rotation:"quaternion",weights:"morphTargetInfluences"};const INTERPOLATION={CUBICSPLINE:undefined,LINEAR:InterpolateLinear,STEP:InterpolateDiscrete};const ALPHA_MODES={OPAQUE:"OPAQUE",MASK:"MASK",BLEND:"BLEND"};function resolveURL(url,path){if(typeof url!=="string"||url==="")return"";if(/^https?:\/\//i.test(path)&&/^\//.test(url)){path=path.replace(/(^https?:\/\/[^\/]+).*/i,"$1")}if(/^(https?:)?\/\//i.test(url))return url;if(/^data:.*,.*$/i.test(url))return url;if(/^blob:.*$/i.test(url))return url;return path+url}function createDefaultMaterial(cache){if(cache["DefaultMaterial"]===undefined){cache["DefaultMaterial"]=new MeshStandardMaterial({color:16777215,emissive:0,metalness:1,roughness:1,transparent:false,depthTest:true,side:FrontSide})}return cache["DefaultMaterial"]}function addUnknownExtensionsToUserData(knownExtensions,object,objectDef){for(const name in objectDef.extensions){if(knownExtensions[name]===undefined){object.userData.gltfExtensions=object.userData.gltfExtensions||{};object.userData.gltfExtensions[name]=objectDef.extensions[name]}}}function assignExtrasToUserData(object,gltfDef){if(gltfDef.extras!==undefined){if(typeof gltfDef.extras==="object"){Object.assign(object.userData,gltfDef.extras)}else{console.warn("THREE.GLTFLoader: Ignoring primitive type .extras, "+gltfDef.extras)}}}function addMorphTargets(geometry,targets,parser){let hasMorphPosition=false;let hasMorphNormal=false;for(let i=0,il=targets.length;i=2)bufferAttribute.setY(index,sparseValues[i*itemSize+1]);if(itemSize>=3)bufferAttribute.setZ(index,sparseValues[i*itemSize+2]);if(itemSize>=4)bufferAttribute.setW(index,sparseValues[i*itemSize+3]);if(itemSize>=5)throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}}return bufferAttribute}))}loadTexture(textureIndex){const json=this.json;const options=this.options;const textureDef=json.textures[textureIndex];const source=json.images[textureDef.source];let loader=this.textureLoader;if(source.uri){const handler=options.manager.getHandler(source.uri);if(handler!==null)loader=handler}return this.loadTextureImage(textureIndex,source,loader)}loadTextureImage(textureIndex,source,loader){const parser=this;const json=this.json;const options=this.options;const textureDef=json.textures[textureIndex];const URL=self.URL||self.webkitURL;let sourceURI=source.uri;let isObjectURL=false;let hasAlpha=true;if(source.mimeType==="image/jpeg")hasAlpha=false;if(source.bufferView!==undefined){sourceURI=parser.getDependency("bufferView",source.bufferView).then((function(bufferView){if(source.mimeType==="image/png"){const colorType=new DataView(bufferView,25,1).getUint8(0,false);hasAlpha=colorType===6||colorType===4||colorType===3}isObjectURL=true;const blob=new Blob([bufferView],{type:source.mimeType});sourceURI=URL.createObjectURL(blob);return sourceURI}))}else if(source.uri===undefined){throw new Error("THREE.GLTFLoader: Image "+textureIndex+" is missing URI and bufferView")}return Promise.resolve(sourceURI).then((function(sourceURI){return new Promise((function(resolve,reject){let onLoad=resolve;if(loader.isImageBitmapLoader===true){onLoad=function(imageBitmap){resolve(new CanvasTexture(imageBitmap))}}loader.load(resolveURL(sourceURI,options.path),onLoad,undefined,reject)}))})).then((function(texture){if(isObjectURL===true){URL.revokeObjectURL(sourceURI)}texture.flipY=false;if(textureDef.name)texture.name=textureDef.name;if(!hasAlpha)texture.format=RGBFormat;const samplers=json.samplers||{};const sampler=samplers[textureDef.sampler]||{};texture.magFilter=WEBGL_FILTERS[sampler.magFilter]||LinearFilter;texture.minFilter=WEBGL_FILTERS[sampler.minFilter]||LinearMipmapLinearFilter;texture.wrapS=WEBGL_WRAPPINGS[sampler.wrapS]||RepeatWrapping;texture.wrapT=WEBGL_WRAPPINGS[sampler.wrapT]||RepeatWrapping;parser.associations.set(texture,{type:"textures",index:textureIndex});return texture}))}assignTexture(materialParams,mapName,mapDef){const parser=this;return this.getDependency("texture",mapDef.index).then((function(texture){if(mapDef.texCoord!==undefined&&mapDef.texCoord!=0&&!(mapName==="aoMap"&&mapDef.texCoord==1)){console.warn("THREE.GLTFLoader: Custom UV set "+mapDef.texCoord+" for texture "+mapName+" not yet supported.")}if(parser.extensions[EXTENSIONS.KHR_TEXTURE_TRANSFORM]){const transform=mapDef.extensions!==undefined?mapDef.extensions[EXTENSIONS.KHR_TEXTURE_TRANSFORM]:undefined;if(transform){const gltfReference=parser.associations.get(texture);texture=parser.extensions[EXTENSIONS.KHR_TEXTURE_TRANSFORM].extendTexture(texture,transform);parser.associations.set(texture,gltfReference)}}materialParams[mapName]=texture}))}assignFinalMaterial(mesh){const geometry=mesh.geometry;let material=mesh.material;const useVertexTangents=geometry.attributes.tangent!==undefined;const useVertexColors=geometry.attributes.color!==undefined;const useFlatShading=geometry.attributes.normal===undefined;const useSkinning=mesh.isSkinnedMesh===true;const useMorphTargets=Object.keys(geometry.morphAttributes).length>0;const useMorphNormals=useMorphTargets&&geometry.morphAttributes.normal!==undefined;if(mesh.isPoints){const cacheKey="PointsMaterial:"+material.uuid;let pointsMaterial=this.cache.get(cacheKey);if(!pointsMaterial){pointsMaterial=new PointsMaterial;Material.prototype.copy.call(pointsMaterial,material);pointsMaterial.color.copy(material.color);pointsMaterial.map=material.map;pointsMaterial.sizeAttenuation=false;this.cache.add(cacheKey,pointsMaterial)}material=pointsMaterial}else if(mesh.isLine){const cacheKey="LineBasicMaterial:"+material.uuid;let lineMaterial=this.cache.get(cacheKey);if(!lineMaterial){lineMaterial=new LineBasicMaterial;Material.prototype.copy.call(lineMaterial,material);lineMaterial.color.copy(material.color);this.cache.add(cacheKey,lineMaterial)}material=lineMaterial}if(useVertexTangents||useVertexColors||useFlatShading||useSkinning||useMorphTargets){let cacheKey="ClonedMaterial:"+material.uuid+":";if(material.isGLTFSpecularGlossinessMaterial)cacheKey+="specular-glossiness:";if(useSkinning)cacheKey+="skinning:";if(useVertexTangents)cacheKey+="vertex-tangents:";if(useVertexColors)cacheKey+="vertex-colors:";if(useFlatShading)cacheKey+="flat-shading:";if(useMorphTargets)cacheKey+="morph-targets:";if(useMorphNormals)cacheKey+="morph-normals:";let cachedMaterial=this.cache.get(cacheKey);if(!cachedMaterial){cachedMaterial=material.clone();if(useSkinning)cachedMaterial.skinning=true;if(useVertexColors)cachedMaterial.vertexColors=true;if(useFlatShading)cachedMaterial.flatShading=true;if(useMorphTargets)cachedMaterial.morphTargets=true;if(useMorphNormals)cachedMaterial.morphNormals=true;if(useVertexTangents){cachedMaterial.vertexTangents=true;if(cachedMaterial.normalScale)cachedMaterial.normalScale.y*=-1;if(cachedMaterial.clearcoatNormalScale)cachedMaterial.clearcoatNormalScale.y*=-1}this.cache.add(cacheKey,cachedMaterial);this.associations.set(cachedMaterial,this.associations.get(material))}material=cachedMaterial}if(material.aoMap&&geometry.attributes.uv2===undefined&&geometry.attributes.uv!==undefined){geometry.setAttribute("uv2",geometry.attributes.uv)}mesh.material=material}getMaterialType(){return MeshStandardMaterial}loadMaterial(materialIndex){const parser=this;const json=this.json;const extensions=this.extensions;const materialDef=json.materials[materialIndex];let materialType;const materialParams={};const materialExtensions=materialDef.extensions||{};const pending=[];if(materialExtensions[EXTENSIONS.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS]){const sgExtension=extensions[EXTENSIONS.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS];materialType=sgExtension.getMaterialType();pending.push(sgExtension.extendParams(materialParams,materialDef,parser))}else if(materialExtensions[EXTENSIONS.KHR_MATERIALS_UNLIT]){const kmuExtension=extensions[EXTENSIONS.KHR_MATERIALS_UNLIT];materialType=kmuExtension.getMaterialType();pending.push(kmuExtension.extendParams(materialParams,materialDef,parser))}else{const metallicRoughness=materialDef.pbrMetallicRoughness||{};materialParams.color=new Color(1,1,1);materialParams.opacity=1;if(Array.isArray(metallicRoughness.baseColorFactor)){const array=metallicRoughness.baseColorFactor;materialParams.color.fromArray(array);materialParams.opacity=array[3]}if(metallicRoughness.baseColorTexture!==undefined){pending.push(parser.assignTexture(materialParams,"map",metallicRoughness.baseColorTexture))}materialParams.metalness=metallicRoughness.metallicFactor!==undefined?metallicRoughness.metallicFactor:1;materialParams.roughness=metallicRoughness.roughnessFactor!==undefined?metallicRoughness.roughnessFactor:1;if(metallicRoughness.metallicRoughnessTexture!==undefined){pending.push(parser.assignTexture(materialParams,"metalnessMap",metallicRoughness.metallicRoughnessTexture));pending.push(parser.assignTexture(materialParams,"roughnessMap",metallicRoughness.metallicRoughnessTexture))}materialType=this._invokeOne((function(ext){return ext.getMaterialType&&ext.getMaterialType(materialIndex)}));pending.push(Promise.all(this._invokeAll((function(ext){return ext.extendMaterialParams&&ext.extendMaterialParams(materialIndex,materialParams)}))))}if(materialDef.doubleSided===true){materialParams.side=DoubleSide}const alphaMode=materialDef.alphaMode||ALPHA_MODES.OPAQUE;if(alphaMode===ALPHA_MODES.BLEND){materialParams.transparent=true;materialParams.depthWrite=false}else{materialParams.transparent=false;if(alphaMode===ALPHA_MODES.MASK){materialParams.alphaTest=materialDef.alphaCutoff!==undefined?materialDef.alphaCutoff:.5}}if(materialDef.normalTexture!==undefined&&materialType!==MeshBasicMaterial){pending.push(parser.assignTexture(materialParams,"normalMap",materialDef.normalTexture));materialParams.normalScale=new Vector2(1,-1);if(materialDef.normalTexture.scale!==undefined){materialParams.normalScale.set(materialDef.normalTexture.scale,-materialDef.normalTexture.scale)}}if(materialDef.occlusionTexture!==undefined&&materialType!==MeshBasicMaterial){pending.push(parser.assignTexture(materialParams,"aoMap",materialDef.occlusionTexture));if(materialDef.occlusionTexture.strength!==undefined){materialParams.aoMapIntensity=materialDef.occlusionTexture.strength}}if(materialDef.emissiveFactor!==undefined&&materialType!==MeshBasicMaterial){materialParams.emissive=(new Color).fromArray(materialDef.emissiveFactor)}if(materialDef.emissiveTexture!==undefined&&materialType!==MeshBasicMaterial){pending.push(parser.assignTexture(materialParams,"emissiveMap",materialDef.emissiveTexture))}return Promise.all(pending).then((function(){let material;if(materialType===GLTFMeshStandardSGMaterial){material=extensions[EXTENSIONS.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS].createMaterial(materialParams)}else{material=new materialType(materialParams)}if(materialDef.name)material.name=materialDef.name;if(material.map)material.map.encoding=sRGBEncoding;if(material.emissiveMap)material.emissiveMap.encoding=sRGBEncoding;assignExtrasToUserData(material,materialDef);parser.associations.set(material,{type:"materials",index:materialIndex});if(materialDef.extensions)addUnknownExtensionsToUserData(extensions,material,materialDef);return material}))}createUniqueName(originalName){const sanitizedName=PropertyBinding.sanitizeNodeName(originalName||"");let name=sanitizedName;for(let i=1;this.nodeNamesUsed[name];++i){name=sanitizedName+"_"+i}this.nodeNamesUsed[name]=true;return name}loadGeometries(primitives){const parser=this;const extensions=this.extensions;const cache=this.primitiveCache;function createDracoPrimitive(primitive){return extensions[EXTENSIONS.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(primitive,parser).then((function(geometry){return addPrimitiveAttributes(geometry,primitive,parser)}))}const pending=[];for(let i=0,il=primitives.length;i0){updateMorphTargets(mesh,meshDef)}mesh.name=parser.createUniqueName(meshDef.name||"mesh_"+meshIndex);assignExtrasToUserData(mesh,meshDef);if(primitive.extensions)addUnknownExtensionsToUserData(extensions,mesh,primitive);parser.assignFinalMaterial(mesh);meshes.push(mesh)}if(meshes.length===1){return meshes[0]}const group=new Group;for(let i=0,il=meshes.length;i1){node=new Group}else if(objects.length===1){node=objects[0]}else{node=new Object3D}if(node!==objects[0]){for(let i=0,il=objects.length;i{const taskConfig={attributeIDs:this.defaultAttributeIDs,attributeTypes:this.defaultAttributeTypes,useUniqueIDs:false};this.decodeGeometry(buffer,taskConfig).then(onLoad).catch(onError)}),onProgress,onError)}decodeDracoFile(buffer,callback,attributeIDs,attributeTypes){const taskConfig={attributeIDs:attributeIDs||this.defaultAttributeIDs,attributeTypes:attributeTypes||this.defaultAttributeTypes,useUniqueIDs:!!attributeIDs};this.decodeGeometry(buffer,taskConfig).then(callback)}decodeGeometry(buffer,taskConfig){for(const attribute in taskConfig.attributeTypes){const type=taskConfig.attributeTypes[attribute];if(type.BYTES_PER_ELEMENT!==undefined){taskConfig.attributeTypes[attribute]=type.name}}const taskKey=JSON.stringify(taskConfig);if(_taskCache.has(buffer)){const cachedTask=_taskCache.get(buffer);if(cachedTask.key===taskKey){return cachedTask.promise}else if(buffer.byteLength===0){throw new Error("THREE.DRACOLoader: Unable to re-decode a buffer with different "+"settings. Buffer has already been transferred.")}}let worker;const taskID=this.workerNextTaskID++;const taskCost=buffer.byteLength;const geometryPending=this._getWorker(taskID,taskCost).then((_worker=>{worker=_worker;return new Promise(((resolve,reject)=>{worker._callbacks[taskID]={resolve:resolve,reject:reject};worker.postMessage({type:"decode",id:taskID,taskConfig:taskConfig,buffer:buffer},[buffer])}))})).then((message=>this._createGeometry(message.geometry)));geometryPending.catch((()=>true)).then((()=>{if(worker&&taskID){this._releaseTask(worker,taskID)}}));_taskCache.set(buffer,{key:taskKey,promise:geometryPending});return geometryPending}_createGeometry(geometryData){const geometry=new BufferGeometry;if(geometryData.index){geometry.setIndex(new BufferAttribute(geometryData.index.array,1))}for(let i=0;i{loader.load(url,resolve,undefined,reject)}))}preload(){this._initDecoder();return this}_initDecoder(){if(this.decoderPending)return this.decoderPending;const useJS=typeof WebAssembly!=="object"||this.decoderConfig.type==="js";const librariesPending=[];if(useJS){librariesPending.push(this._loadLibrary("draco_decoder.js","text"))}else{librariesPending.push(this._loadLibrary("draco_wasm_wrapper.js","text"));librariesPending.push(this._loadLibrary("draco_decoder.wasm","arraybuffer"))}this.decoderPending=Promise.all(librariesPending).then((libraries=>{const jsContent=libraries[0];if(!useJS){this.decoderConfig.wasmBinary=libraries[1]}const fn=DRACOWorker.toString();const body=["/* draco decoder */",jsContent,"","/* worker */",fn.substring(fn.indexOf("{")+1,fn.lastIndexOf("}"))].join("\n");this.workerSourceURL=URL.createObjectURL(new Blob([body]))}));return this.decoderPending}_getWorker(taskID,taskCost){return this._initDecoder().then((()=>{if(this.workerPool.lengthb._taskLoad?-1:1}))}const worker=this.workerPool[this.workerPool.length-1];worker._taskCosts[taskID]=taskCost;worker._taskLoad+=taskCost;return worker}))}_releaseTask(worker,taskID){worker._taskLoad-=worker._taskCosts[taskID];delete worker._callbacks[taskID];delete worker._taskCosts[taskID]}debug(){console.log("Task load: ",this.workerPool.map((worker=>worker._taskLoad)))}dispose(){for(let i=0;i{const draco=module.draco;const decoder=new draco.Decoder;const decoderBuffer=new draco.DecoderBuffer;decoderBuffer.Init(new Int8Array(buffer),buffer.byteLength);try{const geometry=decodeGeometry(draco,decoder,decoderBuffer,taskConfig);const buffers=geometry.attributes.map((attr=>attr.array.buffer));if(geometry.index)buffers.push(geometry.index.array.buffer);self.postMessage({type:"decode",id:message.id,geometry:geometry},buffers)}catch(error){console.error(error);self.postMessage({type:"error",id:message.id,error:error.message})}finally{draco.destroy(decoderBuffer);draco.destroy(decoder)}}));break}};function decodeGeometry(draco,decoder,decoderBuffer,taskConfig){const attributeIDs=taskConfig.attributeIDs;const attributeTypes=taskConfig.attributeTypes;let dracoGeometry;let decodingStatus;const geometryType=decoder.GetEncodedGeometryType(decoderBuffer);if(geometryType===draco.TRIANGULAR_MESH){dracoGeometry=new draco.Mesh;decodingStatus=decoder.DecodeBufferToMesh(decoderBuffer,dracoGeometry)}else if(geometryType===draco.POINT_CLOUD){dracoGeometry=new draco.PointCloud;decodingStatus=decoder.DecodeBufferToPointCloud(decoderBuffer,dracoGeometry)}else{throw new Error("THREE.DRACOLoader: Unexpected geometry type.")}if(!decodingStatus.ok()||dracoGeometry.ptr===0){throw new Error("THREE.DRACOLoader: Decoding failed: "+decodingStatus.error_msg())}const geometry={index:null,attributes:[]};for(const attributeName in attributeIDs){const attributeType=self[attributeTypes[attributeName]];let attribute;let attributeID;if(taskConfig.useUniqueIDs){attributeID=attributeIDs[attributeName];attribute=decoder.GetAttributeByUniqueId(dracoGeometry,attributeID)}else{attributeID=decoder.GetAttributeId(dracoGeometry,draco[attributeIDs[attributeName]]);if(attributeID===-1)continue;attribute=decoder.GetAttribute(dracoGeometry,attributeID)}geometry.attributes.push(decodeAttribute(draco,decoder,dracoGeometry,attributeName,attributeType,attribute))}if(geometryType===draco.TRIANGULAR_MESH){geometry.index=decodeIndex(draco,decoder,dracoGeometry)}draco.destroy(dracoGeometry);return geometry}function decodeIndex(draco,decoder,dracoGeometry){const numFaces=dracoGeometry.num_faces();const numIndices=numFaces*3;const byteLength=numIndices*4;const ptr=draco._malloc(byteLength);decoder.GetTrianglesUInt32Array(dracoGeometry,byteLength,ptr);const index=new Uint32Array(draco.HEAPF32.buffer,ptr,numIndices).slice();draco._free(ptr);return{array:index,itemSize:1}}function decodeAttribute(draco,decoder,dracoGeometry,attributeName,attributeType,attribute){const numComponents=attribute.num_components();const numPoints=dracoGeometry.num_points();const numValues=numPoints*numComponents;const byteLength=numValues*attributeType.BYTES_PER_ELEMENT;const dataType=getDracoDataType(draco,attributeType);const ptr=draco._malloc(byteLength);decoder.GetAttributeDataArrayForAllPoints(dracoGeometry,attribute,dataType,byteLength,ptr);const array=new attributeType(draco.HEAPF32.buffer,ptr,numValues).slice();draco._free(ptr);return{name:attributeName,array:array,itemSize:numComponents}}function getDracoDataType(draco,attributeType){switch(attributeType){case Float32Array:return draco.DT_FLOAT32;case Int8Array:return draco.DT_INT8;case Int16Array:return draco.DT_INT16;case Int32Array:return draco.DT_INT32;case Uint8Array:return draco.DT_UINT8;case Uint16Array:return draco.DT_UINT16;case Uint32Array:return draco.DT_UINT32}}}var Convert=function(){function Convert(){}Convert.toIcosa=function(json){return JSON.parse(json)};Convert.icosaToJson=function(value){return JSON.stringify(value)};Convert.toPoly=function(json){return JSON.parse(json)};Convert.polyToJson=function(value){return JSON.stringify(value)};return Convert}();const TILTBRUSH_SHADER_PATH="https://storage.googleapis.com/static.icosa.gallery/brushes/";class TiltShaderLoader extends Loader$1{constructor(manager){super(manager)}async load(brushName,onLoad,onProgress,onError){const scope=this;const loader=new FileLoader(this.manager);loader.setPath(this.path);loader.setResponseType("text");loader.setWithCredentials(this.withCredentials);const textureLoader=new TextureLoader(this.manager);textureLoader.setPath(TILTBRUSH_SHADER_PATH);textureLoader.setWithCredentials(this.withCredentials);const materialParams=tiltBrushMaterialParams[brushName];materialParams.vertexShader=await loader.loadAsync(materialParams.vertexShader);materialParams.fragmentShader=await loader.loadAsync(materialParams.fragmentShader);if(materialParams.uniforms.u_MainTex){const mainTex=await textureLoader.loadAsync(materialParams.uniforms.u_MainTex.value);mainTex.name=`${brushName}_MainTex`;mainTex.wrapS=RepeatWrapping;mainTex.wrapT=RepeatWrapping;mainTex.flipY=false;materialParams.uniforms.u_MainTex.value=mainTex}if(materialParams.uniforms.u_BumpMap){const bumpMap=await textureLoader.loadAsync(materialParams.uniforms.u_BumpMap.value);bumpMap.name=`${brushName}_BumpMap`;bumpMap.wrapS=RepeatWrapping;bumpMap.wrapT=RepeatWrapping;bumpMap.flipY=false;materialParams.uniforms.u_BumpMap.value=bumpMap}if(materialParams.uniforms.u_AlphaMask){const alphaMask=await textureLoader.loadAsync(materialParams.uniforms.u_AlphaMask.value);alphaMask.name=`${brushName}_AlphaMask`;alphaMask.wrapS=RepeatWrapping;alphaMask.wrapT=RepeatWrapping;alphaMask.flipY=false;materialParams.uniforms.u_AlphaMask.value=alphaMask}onLoad(scope.parse(materialParams))}parse(materialParams){return new RawShaderMaterial(materialParams)}}const tiltBrushMaterialParams={BlocksBasic:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"BlocksBasic-0e87b49c-6546-3a34-3a44-8a556d7d6c3e/BlocksBasic-0e87b49c-6546-3a34-3a44-8a556d7d6c3e-v10.0-vertex.glsl",fragmentShader:"BlocksBasic-0e87b49c-6546-3a34-3a44-8a556d7d6c3e/BlocksBasic-0e87b49c-6546-3a34-3a44-8a556d7d6c3e-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},BlocksGem:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"BlocksGem-232998f8-d357-47a2-993a-53415df9be10/BlocksGem-232998f8-d357-47a2-993a-53415df9be10-v10.0-vertex.glsl",fragmentShader:"BlocksGem-232998f8-d357-47a2-993a-53415df9be10/BlocksGem-232998f8-d357-47a2-993a-53415df9be10-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},BlocksGlass:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"BlocksGlass-3d813d82-5839-4450-8ddc-8e889ecd96c7/BlocksGlass-3d813d82-5839-4450-8ddc-8e889ecd96c7-v10.0-vertex.glsl",fragmentShader:"BlocksGlass-3d813d82-5839-4450-8ddc-8e889ecd96c7/BlocksGlass-3d813d82-5839-4450-8ddc-8e889ecd96c7-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:false,depthTest:true,blending:2,extensions:{derivatives:true}},Bubbles:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_MainTex:{value:"Bubbles-89d104cd-d012-426b-b5b3-bbaee63ac43c/Bubbles-89d104cd-d012-426b-b5b3-bbaee63ac43c-v10.0-MainTex.png"}},vertexShader:"Bubbles-89d104cd-d012-426b-b5b3-bbaee63ac43c/Bubbles-89d104cd-d012-426b-b5b3-bbaee63ac43c-v10.0-vertex.glsl",fragmentShader:"Bubbles-89d104cd-d012-426b-b5b3-bbaee63ac43c/Bubbles-89d104cd-d012-426b-b5b3-bbaee63ac43c-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2},CelVinyl:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"CelVinyl-700f3aa8-9a7c-2384-8b8a-ea028905dd8c/CelVinyl-700f3aa8-9a7c-2384-8b8a-ea028905dd8c-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"CelVinyl-700f3aa8-9a7c-2384-8b8a-ea028905dd8c/CelVinyl-700f3aa8-9a7c-2384-8b8a-ea028905dd8c-v10.0-vertex.glsl",fragmentShader:"CelVinyl-700f3aa8-9a7c-2384-8b8a-ea028905dd8c/CelVinyl-700f3aa8-9a7c-2384-8b8a-ea028905dd8c-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},ChromaticWave:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_time:{value:new Vector4},u_EmissionGain:{value:.45}},vertexShader:"ChromaticWave-0f0ff7b2-a677-45eb-a7d6-0cd7206f4816/ChromaticWave-0f0ff7b2-a677-45eb-a7d6-0cd7206f4816-v10.0-vertex.glsl",fragmentShader:"ChromaticWave-0f0ff7b2-a677-45eb-a7d6-0cd7206f4816/ChromaticWave-0f0ff7b2-a677-45eb-a7d6-0cd7206f4816-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:5,blendDstAlpha:201,blendDst:201,blendEquationAlpha:100,blendEquation:100,blendSrcAlpha:201,blendSrc:201},CoarseBristles:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"CoarseBristles-1161af82-50cf-47db-9706-0c3576d43c43/CoarseBristles-1161af82-50cf-47db-9706-0c3576d43c43-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"CoarseBristles-1161af82-50cf-47db-9706-0c3576d43c43/CoarseBristles-1161af82-50cf-47db-9706-0c3576d43c43-v10.0-vertex.glsl",fragmentShader:"CoarseBristles-1161af82-50cf-47db-9706-0c3576d43c43/CoarseBristles-1161af82-50cf-47db-9706-0c3576d43c43-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Comet:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_time:{value:new Vector4},u_Speed:{value:1},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"Comet-1caa6d7d-f015-3f54-3a4b-8b5354d39f81/Comet-1caa6d7d-f015-3f54-3a4b-8b5354d39f81-v10.0-MainTex.png"},u_AlphaMask:{value:"Comet-1caa6d7d-f015-3f54-3a4b-8b5354d39f81/Comet-1caa6d7d-f015-3f54-3a4b-8b5354d39f81-v10.0-AlphaMask.png"},u_AlphaMask_TexelSize:{value:new Vector4(.0156,1,64,1)},u_Cutoff:{value:.2}},vertexShader:"Comet-1caa6d7d-f015-3f54-3a4b-8b5354d39f81/Comet-1caa6d7d-f015-3f54-3a4b-8b5354d39f81-v10.0-vertex.glsl",fragmentShader:"Comet-1caa6d7d-f015-3f54-3a4b-8b5354d39f81/Comet-1caa6d7d-f015-3f54-3a4b-8b5354d39f81-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2,extensions:{derivatives:true}},DiamondHull:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_time:{value:new Vector4},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},cameraPosition:{value:new Vector3},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"DiamondHull-c8313697-2563-47fc-832e-290f4c04b901/DiamondHull-c8313697-2563-47fc-832e-290f4c04b901-v10.0-MainTex.png"}},vertexShader:"DiamondHull-c8313697-2563-47fc-832e-290f4c04b901/DiamondHull-c8313697-2563-47fc-832e-290f4c04b901-v10.0-vertex.glsl",fragmentShader:"DiamondHull-c8313697-2563-47fc-832e-290f4c04b901/DiamondHull-c8313697-2563-47fc-832e-290f4c04b901-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:5,blendDstAlpha:201,blendDst:201,blendEquationAlpha:100,blendEquation:100,blendSrcAlpha:201,blendSrc:201},Disco:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_time:{value:new Vector4},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_Shininess:{value:.65},u_SpecColor:{value:new Vector3(.5147,.5147,.5147)},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0}},vertexShader:"Disco-4391aaaa-df73-4396-9e33-31e4e4930b27/Disco-4391aaaa-df73-4396-9e33-31e4e4930b27-v10.0-vertex.glsl",fragmentShader:"Disco-4391aaaa-df73-4396-9e33-31e4e4930b27/Disco-4391aaaa-df73-4396-9e33-31e4e4930b27-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0},DotMarker:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"DotMarker-d1d991f2-e7a0-4cf1-b328-f57e915e6260/DotMarker-d1d991f2-e7a0-4cf1-b328-f57e915e6260-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"DotMarker-d1d991f2-e7a0-4cf1-b328-f57e915e6260/DotMarker-d1d991f2-e7a0-4cf1-b328-f57e915e6260-v10.0-vertex.glsl",fragmentShader:"DotMarker-d1d991f2-e7a0-4cf1-b328-f57e915e6260/DotMarker-d1d991f2-e7a0-4cf1-b328-f57e915e6260-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Dots:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_TintColor:{value:new Vector4(1,1,1,1)},u_EmissionGain:{value:300},u_BaseGain:{value:.4},u_MainTex:{value:"Dots-6a1cf9f9-032c-45ec-9b1d-a6680bee30f7/Dots-6a1cf9f9-032c-45ec-9b1d-a6680bee30f7-v10.0-MainTex.png"}},vertexShader:"Dots-6a1cf9f9-032c-45ec-9b1d-a6680bee30f7/Dots-6a1cf9f9-032c-45ec-9b1d-a6680bee30f7-v10.0-vertex.glsl",fragmentShader:"Dots-6a1cf9f9-032c-45ec-9b1d-a6680bee30f7/Dots-6a1cf9f9-032c-45ec-9b1d-a6680bee30f7-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2},DoubleTaperedFlat:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"DoubleTaperedFlat-0d3889f3-3ede-470c-8af4-f44813306126/DoubleTaperedFlat-0d3889f3-3ede-470c-8af4-f44813306126-v10.0-vertex.glsl",fragmentShader:"DoubleTaperedFlat-0d3889f3-3ede-470c-8af4-f44813306126/DoubleTaperedFlat-0d3889f3-3ede-470c-8af4-f44813306126-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},DoubleTaperedMarker:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"DoubleTaperedMarker-0d3889f3-3ede-470c-8af4-de4813306126/DoubleTaperedMarker-0d3889f3-3ede-470c-8af4-de4813306126-v10.0-vertex.glsl",fragmentShader:"DoubleTaperedMarker-0d3889f3-3ede-470c-8af4-de4813306126/DoubleTaperedMarker-0d3889f3-3ede-470c-8af4-de4813306126-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},DuctTape:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.001,.0078,1024,128)},u_BumpMap:{value:"DuctTape-3ca16e2f-bdcd-4da2-8631-dcef342f40f1/DuctTape-3ca16e2f-bdcd-4da2-8631-dcef342f40f1-v10.0-BumpMap.png"},u_MainTex:{value:"DuctTape-3ca16e2f-bdcd-4da2-8631-dcef342f40f1/DuctTape-3ca16e2f-bdcd-4da2-8631-dcef342f40f1-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"DuctTape-d0262945-853c-4481-9cbd-88586bed93cb/DuctTape-d0262945-853c-4481-9cbd-88586bed93cb-v10.0-vertex.glsl",fragmentShader:"DuctTape-d0262945-853c-4481-9cbd-88586bed93cb/DuctTape-d0262945-853c-4481-9cbd-88586bed93cb-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Electricity:{uniforms:{u_time:{value:new Vector4},u_DisplacementIntensity:{value:2},u_EmissionGain:{value:.2}},vertexShader:"Electricity-f6e85de3-6dcc-4e7f-87fd-cee8c3d25d51/Electricity-f6e85de3-6dcc-4e7f-87fd-cee8c3d25d51-v10.0-vertex.glsl",fragmentShader:"Electricity-f6e85de3-6dcc-4e7f-87fd-cee8c3d25d51/Electricity-f6e85de3-6dcc-4e7f-87fd-cee8c3d25d51-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2,extensions:{derivatives:true}},Embers:{uniforms:{u_time:{value:new Vector4},u_ScrollRate:{value:.6},u_ScrollDistance:{value:new Vector3(-.2,.6,0)},u_ScrollJitterIntensity:{value:.03},u_ScrollJitterFrequency:{value:5},u_TintColor:{value:new Vector4(1,1,1,1)},u_MainTex:{value:"Embers-02ffb866-7fb2-4d15-b761-1012cefb1360/Embers-02ffb866-7fb2-4d15-b761-1012cefb1360-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Embers-02ffb866-7fb2-4d15-b761-1012cefb1360/Embers-02ffb866-7fb2-4d15-b761-1012cefb1360-v10.0-vertex.glsl",fragmentShader:"Embers-02ffb866-7fb2-4d15-b761-1012cefb1360/Embers-02ffb866-7fb2-4d15-b761-1012cefb1360-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2},EnvironmentDiffuse:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"EnvironmentDiffuse-0ad58bbd-42bc-484e-ad9a-b61036ff4ce7/EnvironmentDiffuse-0ad58bbd-42bc-484e-ad9a-b61036ff4ce7-v1.0-vertex.glsl",fragmentShader:"EnvironmentDiffuse-0ad58bbd-42bc-484e-ad9a-b61036ff4ce7/EnvironmentDiffuse-0ad58bbd-42bc-484e-ad9a-b61036ff4ce7-v1.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},EnvironmentDiffuseLightMap:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"EnvironmentDiffuseLightMap-d01d9d6c-9a61-4aba-8146-5891fafb013b/EnvironmentDiffuseLightMap-d01d9d6c-9a61-4aba-8146-5891fafb013b-v1.0-vertex.glsl",fragmentShader:"EnvironmentDiffuseLightMap-d01d9d6c-9a61-4aba-8146-5891fafb013b/EnvironmentDiffuseLightMap-d01d9d6c-9a61-4aba-8146-5891fafb013b-v1.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Fire:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_time:{value:new Vector4},u_EmissionGain:{value:.5},u_MainTex:{value:"Fire-cb92b597-94ca-4255-b017-0e3f42f12f9e/Fire-cb92b597-94ca-4255-b017-0e3f42f12f9e-v10.0-MainTex.png"}},vertexShader:"Fire-cb92b597-94ca-4255-b017-0e3f42f12f9e/Fire-cb92b597-94ca-4255-b017-0e3f42f12f9e-v10.0-vertex.glsl",fragmentShader:"Fire-cb92b597-94ca-4255-b017-0e3f42f12f9e/Fire-cb92b597-94ca-4255-b017-0e3f42f12f9e-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:5,blendDstAlpha:201,blendDst:201,blendEquationAlpha:100,blendEquation:100,blendSrcAlpha:201,blendSrc:201},Flat:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"Flat-2d35bcf0-e4d8-452c-97b1-3311be063130/Flat-2d35bcf0-e4d8-452c-97b1-3311be063130-v10.0-vertex.glsl",fragmentShader:"Flat-2d35bcf0-e4d8-452c-97b1-3311be063130/Flat-2d35bcf0-e4d8-452c-97b1-3311be063130-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:5,blendDstAlpha:201,blendDst:201,blendEquationAlpha:100,blendEquation:100,blendSrcAlpha:201,blendSrc:201},Highlighter:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"Highlighter-cf019139-d41c-4eb0-a1d0-5cf54b0a42f3/Highlighter-cf019139-d41c-4eb0-a1d0-5cf54b0a42f3-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Highlighter-cf019139-d41c-4eb0-a1d0-5cf54b0a42f3/Highlighter-cf019139-d41c-4eb0-a1d0-5cf54b0a42f3-v10.0-vertex.glsl",fragmentShader:"Highlighter-cf019139-d41c-4eb0-a1d0-5cf54b0a42f3/Highlighter-cf019139-d41c-4eb0-a1d0-5cf54b0a42f3-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:false,depthTest:true,blending:2,extensions:{derivatives:true}},Hypercolor:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_time:{value:new Vector4},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.001,.0078,1024,128)},u_BumpMap:{value:"Hypercolor-dce872c2-7b49-4684-b59b-c45387949c5c/Hypercolor-dce872c2-7b49-4684-b59b-c45387949c5c-v10.0-BumpMap.png"},u_MainTex:{value:"Hypercolor-dce872c2-7b49-4684-b59b-c45387949c5c/Hypercolor-dce872c2-7b49-4684-b59b-c45387949c5c-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Hypercolor-dce872c2-7b49-4684-b59b-c45387949c5c/Hypercolor-dce872c2-7b49-4684-b59b-c45387949c5c-v10.0-vertex.glsl",fragmentShader:"Hypercolor-dce872c2-7b49-4684-b59b-c45387949c5c/Hypercolor-dce872c2-7b49-4684-b59b-c45387949c5c-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},HyperGrid:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_TintColor:{value:new Vector4(1,1,1,1)},u_MainTex:{value:"HyperGrid-6a1cf9f9-032c-45ec-9b6e-a6680bee32e9/HyperGrid-6a1cf9f9-032c-45ec-9b6e-a6680bee32e9-v10.0-MainTex.png"}},vertexShader:"HyperGrid-6a1cf9f9-032c-45ec-9b6e-a6680bee32e9/HyperGrid-6a1cf9f9-032c-45ec-9b6e-a6680bee32e9-v10.0-vertex.glsl",fragmentShader:"HyperGrid-6a1cf9f9-032c-45ec-9b6e-a6680bee32e9/HyperGrid-6a1cf9f9-032c-45ec-9b6e-a6680bee32e9-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2,extensions:{derivatives:true}},Icing:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.001,.0078,1024,128)},u_BumpMap:{value:"Icing-2f212815-f4d3-c1a4-681a-feeaf9c6dc37/Icing-2f212815-f4d3-c1a4-681a-feeaf9c6dc37-v10.0-BumpMap.png"},u_MainTex:{value:"Icing-2f212815-f4d3-c1a4-681a-feeaf9c6dc37/Icing-2f212815-f4d3-c1a4-681a-feeaf9c6dc37-v10.0-BumpMap.png"},u_Cutoff:{value:.2}},vertexShader:"Icing-2f212815-f4d3-c1a4-681a-feeaf9c6dc37/Icing-2f212815-f4d3-c1a4-681a-feeaf9c6dc37-v10.0-vertex.glsl",fragmentShader:"Icing-2f212815-f4d3-c1a4-681a-feeaf9c6dc37/Icing-2f212815-f4d3-c1a4-681a-feeaf9c6dc37-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Ink:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.001,.0078,1024,128)},u_BumpMap:{value:"Ink-c0012095-3ffd-4040-8ee1-fc180d346eaa/Ink-c0012095-3ffd-4040-8ee1-fc180d346eaa-v10.0-BumpMap.png"},u_MainTex:{value:"Ink-c0012095-3ffd-4040-8ee1-fc180d346eaa/Ink-c0012095-3ffd-4040-8ee1-fc180d346eaa-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Ink-f5c336cf-5108-4b40-ade9-c687504385ab/Ink-f5c336cf-5108-4b40-ade9-c687504385ab-v10.0-vertex.glsl",fragmentShader:"Ink-f5c336cf-5108-4b40-ade9-c687504385ab/Ink-f5c336cf-5108-4b40-ade9-c687504385ab-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Leaves:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.001,.0078,1024,128)},u_BumpMap:{value:"Leaves-ea19de07-d0c0-4484-9198-18489a3c1487/Leaves-ea19de07-d0c0-4484-9198-18489a3c1487-v10.0-BumpMap.png"},u_MainTex:{value:"Leaves-ea19de07-d0c0-4484-9198-18489a3c1487/Leaves-ea19de07-d0c0-4484-9198-18489a3c1487-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Leaves-ea19de07-d0c0-4484-9198-18489a3c1487/Leaves-ea19de07-d0c0-4484-9198-18489a3c1487-v10.0-vertex.glsl",fragmentShader:"Leaves-ea19de07-d0c0-4484-9198-18489a3c1487/Leaves-ea19de07-d0c0-4484-9198-18489a3c1487-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Light:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_MainTex:{value:"Light-2241cd32-8ba2-48a5-9ee7-2caef7e9ed62/Light-2241cd32-8ba2-48a5-9ee7-2caef7e9ed62-v10.0-MainTex.png"},u_EmissionGain:{value:.45}},vertexShader:"Light-2241cd32-8ba2-48a5-9ee7-2caef7e9ed62/Light-2241cd32-8ba2-48a5-9ee7-2caef7e9ed62-v10.0-vertex.glsl",fragmentShader:"Light-2241cd32-8ba2-48a5-9ee7-2caef7e9ed62/Light-2241cd32-8ba2-48a5-9ee7-2caef7e9ed62-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:5,blendDstAlpha:201,blendDst:201,blendEquationAlpha:100,blendEquation:100,blendSrcAlpha:201,blendSrc:201},LightWire:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_time:{value:new Vector4},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"LightWire-4391aaaa-df81-4396-9e33-31e4e4930b27/LightWire-4391aaaa-df81-4396-9e33-31e4e4930b27-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"LightWire-4391aaaa-df81-4396-9e33-31e4e4930b27/LightWire-4391aaaa-df81-4396-9e33-31e4e4930b27-v10.0-vertex.glsl",fragmentShader:"LightWire-4391aaaa-df81-4396-9e33-31e4e4930b27/LightWire-4391aaaa-df81-4396-9e33-31e4e4930b27-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0},Lofted:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"Lofted-d381e0f5-3def-4a0d-8853-31e9200bcbda/Lofted-d381e0f5-3def-4a0d-8853-31e9200bcbda-v10.0-vertex.glsl",fragmentShader:"Lofted-d381e0f5-3def-4a0d-8853-31e9200bcbda/Lofted-d381e0f5-3def-4a0d-8853-31e9200bcbda-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Marker:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"Marker-429ed64a-4e97-4466-84d3-145a861ef684/Marker-429ed64a-4e97-4466-84d3-145a861ef684-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Marker-429ed64a-4e97-4466-84d3-145a861ef684/Marker-429ed64a-4e97-4466-84d3-145a861ef684-v10.0-vertex.glsl",fragmentShader:"Marker-429ed64a-4e97-4466-84d3-145a861ef684/Marker-429ed64a-4e97-4466-84d3-145a861ef684-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},MatteHull:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0}},vertexShader:"MatteHull-79348357-432d-4746-8e29-0e25c112e3aa/MatteHull-79348357-432d-4746-8e29-0e25c112e3aa-v10.0-vertex.glsl",fragmentShader:"MatteHull-79348357-432d-4746-8e29-0e25c112e3aa/MatteHull-79348357-432d-4746-8e29-0e25c112e3aa-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0},NeonPulse:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_time:{value:new Vector4},u_EmissionGain:{value:.45}},vertexShader:"NeonPulse-b2ffef01-eaaa-4ab5-aa64-95a2c4f5dbc6/NeonPulse-b2ffef01-eaaa-4ab5-aa64-95a2c4f5dbc6-v10.0-vertex.glsl",fragmentShader:"NeonPulse-b2ffef01-eaaa-4ab5-aa64-95a2c4f5dbc6/NeonPulse-b2ffef01-eaaa-4ab5-aa64-95a2c4f5dbc6-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:5,blendDstAlpha:201,blendDst:201,blendEquationAlpha:100,blendEquation:100,blendSrcAlpha:201,blendSrc:201},OilPaint:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_Cutoff:{value:0},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.002,.002,512,512)},u_MainTex:{value:"OilPaint-f72ec0e7-a844-4e38-82e3-140c44772699/OilPaint-f72ec0e7-a844-4e38-82e3-140c44772699-v10.0-MainTex.png"},u_BumpMap:{value:"OilPaint-f72ec0e7-a844-4e38-82e3-140c44772699/OilPaint-f72ec0e7-a844-4e38-82e3-140c44772699-v10.0-BumpMap.png"}},vertexShader:"OilPaint-f72ec0e7-a844-4e38-82e3-140c44772699/OilPaint-f72ec0e7-a844-4e38-82e3-140c44772699-v10.0-vertex.glsl",fragmentShader:"OilPaint-f72ec0e7-a844-4e38-82e3-140c44772699/OilPaint-f72ec0e7-a844-4e38-82e3-140c44772699-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0},Paper:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.001,.0078,1024,128)},u_BumpMap:{value:"Paper-759f1ebd-20cd-4720-8d41-234e0da63716/Paper-759f1ebd-20cd-4720-8d41-234e0da63716-v10.0-BumpMap.png"},u_MainTex:{value:"Paper-759f1ebd-20cd-4720-8d41-234e0da63716/Paper-759f1ebd-20cd-4720-8d41-234e0da63716-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Paper-f1114e2e-eb8d-4fde-915a-6e653b54e9f5/Paper-f1114e2e-eb8d-4fde-915a-6e653b54e9f5-v10.0-vertex.glsl",fragmentShader:"Paper-f1114e2e-eb8d-4fde-915a-6e653b54e9f5/Paper-f1114e2e-eb8d-4fde-915a-6e653b54e9f5-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},PbrTemplate:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"PbrTemplate-f86a096c-2f4f-4f9d-ae19-81b99f2944e0/PbrTemplate-f86a096c-2f4f-4f9d-ae19-81b99f2944e0-v1.0-vertex.glsl",fragmentShader:"PbrTemplate-f86a096c-2f4f-4f9d-ae19-81b99f2944e0/PbrTemplate-f86a096c-2f4f-4f9d-ae19-81b99f2944e0-v1.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},PbrTransparentTemplate:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"PbrTransparentTemplate-19826f62-42ac-4a9e-8b77-4231fbd0cfbf/PbrTransparentTemplate-19826f62-42ac-4a9e-8b77-4231fbd0cfbf-v1.0-vertex.glsl",fragmentShader:"PbrTransparentTemplate-19826f62-42ac-4a9e-8b77-4231fbd0cfbf/PbrTransparentTemplate-19826f62-42ac-4a9e-8b77-4231fbd0cfbf-v1.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Petal:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"Petal-e0abbc80-0f80-e854-4970-8924a0863dcc/Petal-e0abbc80-0f80-e854-4970-8924a0863dcc-v10.0-vertex.glsl",fragmentShader:"Petal-e0abbc80-0f80-e854-4970-8924a0863dcc/Petal-e0abbc80-0f80-e854-4970-8924a0863dcc-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Plasma:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_time:{value:new Vector4},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"Plasma-c33714d1-b2f9-412e-bd50-1884c9d46336/Plasma-c33714d1-b2f9-412e-bd50-1884c9d46336-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Plasma-c33714d1-b2f9-412e-bd50-1884c9d46336/Plasma-c33714d1-b2f9-412e-bd50-1884c9d46336-v10.0-vertex.glsl",fragmentShader:"Plasma-c33714d1-b2f9-412e-bd50-1884c9d46336/Plasma-c33714d1-b2f9-412e-bd50-1884c9d46336-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Rainbow:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_time:{value:new Vector4},u_EmissionGain:{value:.45}},vertexShader:"Rainbow-ad1ad437-76e2-450d-a23a-e17f8310b960/Rainbow-ad1ad437-76e2-450d-a23a-e17f8310b960-v10.0-vertex.glsl",fragmentShader:"Rainbow-ad1ad437-76e2-450d-a23a-e17f8310b960/Rainbow-ad1ad437-76e2-450d-a23a-e17f8310b960-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:5,blendDstAlpha:201,blendDst:201,blendEquationAlpha:100,blendEquation:100,blendSrcAlpha:201,blendSrc:201},ShinyHull:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(.1985,.1985,.1985)},u_Shininess:{value:.743},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"ShinyHull-faaa4d44-fcfb-4177-96be-753ac0421ba3/ShinyHull-faaa4d44-fcfb-4177-96be-753ac0421ba3-v10.0-vertex.glsl",fragmentShader:"ShinyHull-faaa4d44-fcfb-4177-96be-753ac0421ba3/ShinyHull-faaa4d44-fcfb-4177-96be-753ac0421ba3-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Smoke:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_TintColor:{value:new Vector4(1,1,1,1)},u_MainTex:{value:"Smoke-70d79cca-b159-4f35-990c-f02193947fe8/Smoke-70d79cca-b159-4f35-990c-f02193947fe8-v10.0-MainTex.png"}},vertexShader:"Smoke-70d79cca-b159-4f35-990c-f02193947fe8/Smoke-70d79cca-b159-4f35-990c-f02193947fe8-v10.0-vertex.glsl",fragmentShader:"Smoke-70d79cca-b159-4f35-990c-f02193947fe8/Smoke-70d79cca-b159-4f35-990c-f02193947fe8-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2},Snow:{uniforms:{u_time:{value:new Vector4},u_ScrollRate:{value:.2},u_ScrollDistance:{value:new Vector3(0,-.3,0)},u_ScrollJitterIntensity:{value:.01},u_ScrollJitterFrequency:{value:12},u_TintColor:{value:new Vector4(1,1,1,1)},u_MainTex:{value:"Snow-d902ed8b-d0d1-476c-a8de-878a79e3a34c/Snow-d902ed8b-d0d1-476c-a8de-878a79e3a34c-v10.0-MainTex.png"}},vertexShader:"Snow-d902ed8b-d0d1-476c-a8de-878a79e3a34c/Snow-d902ed8b-d0d1-476c-a8de-878a79e3a34c-v10.0-vertex.glsl",fragmentShader:"Snow-d902ed8b-d0d1-476c-a8de-878a79e3a34c/Snow-d902ed8b-d0d1-476c-a8de-878a79e3a34c-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2},SoftHighlighter:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_MainTex:{value:"SoftHighlighter-accb32f5-4509-454f-93f8-1df3fd31df1b/SoftHighlighter-accb32f5-4509-454f-93f8-1df3fd31df1b-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"SoftHighlighter-accb32f5-4509-454f-93f8-1df3fd31df1b/SoftHighlighter-accb32f5-4509-454f-93f8-1df3fd31df1b-v10.0-vertex.glsl",fragmentShader:"SoftHighlighter-accb32f5-4509-454f-93f8-1df3fd31df1b/SoftHighlighter-accb32f5-4509-454f-93f8-1df3fd31df1b-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:5,blendDstAlpha:201,blendDst:201,blendEquationAlpha:100,blendEquation:100,blendSrcAlpha:201,blendSrc:201},Spikes:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_Cutoff:{value:.2}},vertexShader:"Spikes-cf7f0059-7aeb-53a4-2b67-c83d863a9ffa/Spikes-cf7f0059-7aeb-53a4-2b67-c83d863a9ffa-v10.0-vertex.glsl",fragmentShader:"Spikes-cf7f0059-7aeb-53a4-2b67-c83d863a9ffa/Spikes-cf7f0059-7aeb-53a4-2b67-c83d863a9ffa-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Splatter:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"Splatter-7a1c8107-50c5-4b70-9a39-421576d6617e/Splatter-7a1c8107-50c5-4b70-9a39-421576d6617e-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Splatter-7a1c8107-50c5-4b70-9a39-421576d6617e/Splatter-7a1c8107-50c5-4b70-9a39-421576d6617e-v10.0-vertex.glsl",fragmentShader:"Splatter-7a1c8107-50c5-4b70-9a39-421576d6617e/Splatter-7a1c8107-50c5-4b70-9a39-421576d6617e-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0},Stars:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_time:{value:new Vector4},u_SparkleRate:{value:5.3},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"Stars-0eb4db27-3f82-408d-b5a1-19ebd7d5b711/Stars-0eb4db27-3f82-408d-b5a1-19ebd7d5b711-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Stars-0eb4db27-3f82-408d-b5a1-19ebd7d5b711/Stars-0eb4db27-3f82-408d-b5a1-19ebd7d5b711-v10.0-vertex.glsl",fragmentShader:"Stars-0eb4db27-3f82-408d-b5a1-19ebd7d5b711/Stars-0eb4db27-3f82-408d-b5a1-19ebd7d5b711-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2,extensions:{derivatives:true}},Streamers:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_EmissionGain:{value:.4},u_time:{value:new Vector4},u_MainTex:{value:"Streamers-44bb800a-fbc3-4592-8426-94ecb05ddec3/Streamers-44bb800a-fbc3-4592-8426-94ecb05ddec3-v10.0-MainTex.png"}},vertexShader:"Streamers-44bb800a-fbc3-4592-8426-94ecb05ddec3/Streamers-44bb800a-fbc3-4592-8426-94ecb05ddec3-v10.0-vertex.glsl",fragmentShader:"Streamers-44bb800a-fbc3-4592-8426-94ecb05ddec3/Streamers-44bb800a-fbc3-4592-8426-94ecb05ddec3-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2},Taffy:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"Taffy-0077f88c-d93a-42f3-b59b-b31c50cdb414/Taffy-0077f88c-d93a-42f3-b59b-b31c50cdb414-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Taffy-0077f88c-d93a-42f3-b59b-b31c50cdb414/Taffy-0077f88c-d93a-42f3-b59b-b31c50cdb414-v10.0-vertex.glsl",fragmentShader:"Taffy-0077f88c-d93a-42f3-b59b-b31c50cdb414/Taffy-0077f88c-d93a-42f3-b59b-b31c50cdb414-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},TaperedFlat:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"TaperedFlat-b468c1fb-f254-41ed-8ec9-57030bc5660c/TaperedFlat-b468c1fb-f254-41ed-8ec9-57030bc5660c-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"TaperedFlat-b468c1fb-f254-41ed-8ec9-57030bc5660c/TaperedFlat-b468c1fb-f254-41ed-8ec9-57030bc5660c-v10.0-vertex.glsl",fragmentShader:"TaperedFlat-b468c1fb-f254-41ed-8ec9-57030bc5660c/TaperedFlat-b468c1fb-f254-41ed-8ec9-57030bc5660c-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},TaperedMarker:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"TaperedMarker-d90c6ad8-af0f-4b54-b422-e0f92abe1b3c/TaperedMarker-d90c6ad8-af0f-4b54-b422-e0f92abe1b3c-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"TaperedMarker-d90c6ad8-af0f-4b54-b422-e0f92abe1b3c/TaperedMarker-d90c6ad8-af0f-4b54-b422-e0f92abe1b3c-v10.0-vertex.glsl",fragmentShader:"TaperedMarker-d90c6ad8-af0f-4b54-b422-e0f92abe1b3c/TaperedMarker-d90c6ad8-af0f-4b54-b422-e0f92abe1b3c-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},TaperedMarker_Flat:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"TaperedMarker_Flat-1a26b8c0-8a07-4f8a-9fac-d2ef36e0cad0/TaperedMarker_Flat-1a26b8c0-8a07-4f8a-9fac-d2ef36e0cad0-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"TaperedMarker_Flat-1a26b8c0-8a07-4f8a-9fac-d2ef36e0cad0/TaperedMarker_Flat-1a26b8c0-8a07-4f8a-9fac-d2ef36e0cad0-v10.0-vertex.glsl",fragmentShader:"TaperedMarker_Flat-1a26b8c0-8a07-4f8a-9fac-d2ef36e0cad0/TaperedMarker_Flat-1a26b8c0-8a07-4f8a-9fac-d2ef36e0cad0-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},ThickPaint:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.001,.0078,1024,128)},u_BumpMap:{value:"ThickPaint-75b32cf0-fdd6-4d89-a64b-e2a00b247b0f/ThickPaint-75b32cf0-fdd6-4d89-a64b-e2a00b247b0f-v10.0-BumpMap.png"},u_MainTex:{value:"ThickPaint-75b32cf0-fdd6-4d89-a64b-e2a00b247b0f/ThickPaint-75b32cf0-fdd6-4d89-a64b-e2a00b247b0f-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"ThickPaint-75b32cf0-fdd6-4d89-a64b-e2a00b247b0f/ThickPaint-75b32cf0-fdd6-4d89-a64b-e2a00b247b0f-v10.0-vertex.glsl",fragmentShader:"ThickPaint-75b32cf0-fdd6-4d89-a64b-e2a00b247b0f/ThickPaint-75b32cf0-fdd6-4d89-a64b-e2a00b247b0f-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Toon:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0}},vertexShader:"Toon-4391385a-df73-4396-9e33-31e4e4930b27/Toon-4391385a-df73-4396-9e33-31e4e4930b27-v10.0-vertex.glsl",fragmentShader:"Toon-4391385a-df73-4396-9e33-31e4e4930b27/Toon-4391385a-df73-4396-9e33-31e4e4930b27-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0},UnlitHull:{uniforms:{u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0}},vertexShader:"UnlitHull-a8fea537-da7c-4d4b-817f-24f074725d6d/UnlitHull-a8fea537-da7c-4d4b-817f-24f074725d6d-v10.0-vertex.glsl",fragmentShader:"UnlitHull-a8fea537-da7c-4d4b-817f-24f074725d6d/UnlitHull-a8fea537-da7c-4d4b-817f-24f074725d6d-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0},VelvetInk:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"VelvetInk-d229d335-c334-495a-a801-660ac8a87360/VelvetInk-d229d335-c334-495a-a801-660ac8a87360-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"VelvetInk-d229d335-c334-495a-a801-660ac8a87360/VelvetInk-d229d335-c334-495a-a801-660ac8a87360-v10.0-vertex.glsl",fragmentShader:"VelvetInk-d229d335-c334-495a-a801-660ac8a87360/VelvetInk-d229d335-c334-495a-a801-660ac8a87360-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2,extensions:{derivatives:true}},Waveform:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_time:{value:new Vector4},u_MainTex:{value:"Waveform-10201aa3-ebc2-42d8-84b7-2e63f6eeb8ab/Waveform-10201aa3-ebc2-42d8-84b7-2e63f6eeb8ab-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"Waveform-10201aa3-ebc2-42d8-84b7-2e63f6eeb8ab/Waveform-10201aa3-ebc2-42d8-84b7-2e63f6eeb8ab-v10.0-vertex.glsl",fragmentShader:"Waveform-10201aa3-ebc2-42d8-84b7-2e63f6eeb8ab/Waveform-10201aa3-ebc2-42d8-84b7-2e63f6eeb8ab-v10.0-fragment.glsl",side:2,transparent:true,depthFunc:2,depthWrite:false,depthTest:true,blending:2,extensions:{derivatives:true}},WetPaint:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_BumpMap_TexelSize:{value:new Vector4(.001,.0078,1024,128)},u_BumpMap:{value:"WetPaint-b67c0e81-ce6d-40a8-aeb0-ef036b081aa3/WetPaint-b67c0e81-ce6d-40a8-aeb0-ef036b081aa3-v10.0-BumpMap.png"},u_MainTex:{value:"WetPaint-b67c0e81-ce6d-40a8-aeb0-ef036b081aa3/WetPaint-b67c0e81-ce6d-40a8-aeb0-ef036b081aa3-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"WetPaint-b67c0e81-ce6d-40a8-aeb0-ef036b081aa3/WetPaint-b67c0e81-ce6d-40a8-aeb0-ef036b081aa3-v10.0-vertex.glsl",fragmentShader:"WetPaint-b67c0e81-ce6d-40a8-aeb0-ef036b081aa3/WetPaint-b67c0e81-ce6d-40a8-aeb0-ef036b081aa3-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},WigglyGraphite:{uniforms:{u_SceneLight_0_matrix:{value:[.2931,.5524,-.7803,0,-.8769,.4805,.0107,0,.3809,.6811,.6253,0,-4.9937,8.1874,-46.2828,1]},u_SceneLight_1_matrix:{value:[.1816,-.1369,-.9738,0,-.7915,-.608,-.0621,0,-.5835,.7821,-.2188,0,-5.6205,8.253,-46.8315,1]},u_ambient_light_color:{value:new Vector4(.3922,.3922,.3922,1)},u_SceneLight_0_color:{value:new Vector4(.778,.8157,.9914,1)},u_SceneLight_1_color:{value:new Vector4(.4282,.4212,.3459,1)},u_SpecColor:{value:new Vector3(0,0,0)},u_Shininess:{value:.15},u_time:{value:new Vector4},u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0},u_MainTex:{value:"WigglyGraphite-5347acf0-a8e2-47b6-8346-30c70719d763/WigglyGraphite-5347acf0-a8e2-47b6-8346-30c70719d763-v10.0-MainTex.png"},u_Cutoff:{value:.2}},vertexShader:"WigglyGraphite-5347acf0-a8e2-47b6-8346-30c70719d763/WigglyGraphite-5347acf0-a8e2-47b6-8346-30c70719d763-v10.0-vertex.glsl",fragmentShader:"WigglyGraphite-5347acf0-a8e2-47b6-8346-30c70719d763/WigglyGraphite-5347acf0-a8e2-47b6-8346-30c70719d763-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0,extensions:{derivatives:true}},Wire:{uniforms:{u_fogColor:{value:new Vector3(.0196,.0196,.0196)},u_fogDensity:{value:0}},vertexShader:"Wire-4391385a-cf83-4396-9e33-31e4e4930b27/Wire-4391385a-cf83-4396-9e33-31e4e4930b27-v10.0-vertex.glsl",fragmentShader:"Wire-4391385a-cf83-4396-9e33-31e4e4930b27/Wire-4391385a-cf83-4396-9e33-31e4e4930b27-v10.0-fragment.glsl",side:2,transparent:false,depthFunc:2,depthWrite:true,depthTest:true,blending:0}};var Loader=function(){function Loader(scene,sceneCamera,cameraControls){this.sceneColor=new Color("#000000");this.loaded=false;this.updateableMeshes=[];var manager=new LoadingManager;manager.onStart=function(){var _a,_b;(_a=document.getElementById("loadscreen"))===null||_a===void 0?void 0:_a.classList.remove("fade-out");(_b=document.getElementById("loadscreen"))===null||_b===void 0?void 0:_b.classList.remove("loaded")};manager.onLoad=function(){var _a;(_a=document.getElementById("loadscreen"))===null||_a===void 0?void 0:_a.classList.add("fade-out")};this.tiltLoader=new TiltLoader(manager);this.gltfLoader=new GLTFLoader(manager);this.tiltShaderLoader=new TiltShaderLoader(manager);this.tiltShaderLoader.setPath("https://storage.googleapis.com/static.icosa.gallery/brushes/");var dracoLoader=new DRACOLoader;dracoLoader.setDecoderPath("https://www.gstatic.com/draco/v1/decoders/");this.gltfLoader.setDRACOLoader(dracoLoader);this.legacygltf=new LegacyGLTFLoader(manager);this.scene=scene;this.sceneCamera=sceneCamera;this.cameraControls=cameraControls}Loader.prototype.update=function(deltaTime){var _this=this;if(!this.loaded)return;var time=new Vector4(deltaTime/20,deltaTime,deltaTime*2,deltaTime*3);this.updateableMeshes.forEach((function(mesh){var material=mesh.material;switch(material.name){case"material_DiamondHull":material.uniforms["cameraPosition"].value=_this.sceneCamera.position;material.uniforms["u_time"].value=time;break;case"material_ChromaticWave":case"material_Comet":case"material_Disco":case"material_Electricity":case"material_Embers":case"material_Fire":case"material_Hypercolor":case"material_LightWire":case"material_NeonPulse":case"material_Plasma":case"material_Rainbow":case"material_Snow":case"material_Stars":case"material_Streamers":case"material_Waveform":case"material_WigglyGraphite":material.uniforms["u_time"].value=time;break}}))};Loader.prototype.initGltf2=function(url){var _this=this;this.gltfLoader.load(url,(function(gltf){var _a,_b;_this.loadedModel=gltf.scene;var light0transform=(_a=_this.loadedModel.getObjectByName("node_SceneLight_0_i1"))===null||_a===void 0?void 0:_a.modelViewMatrix;var light1transform=(_b=_this.loadedModel.getObjectByName("node_SceneLight_1_i2"))===null||_b===void 0?void 0:_b.modelViewMatrix;_this.loadedModel.traverse((function(object){return __awaiter(_this,void 0,void 0,(function(){var mesh,material,shader,_a;return __generator(this,(function(_b){switch(_b.label){case 0:if(!(object.type==="Mesh"))return[3,124];mesh=object;material=mesh.material;_a=material.name;switch(_a){case"brush_BlocksBasic":return[3,1];case"brush_BlocksGem":return[3,3];case"brush_BlocksGlass":return[3,5];case"brush_Bubbles":return[3,7];case"brush_CelVinyl":return[3,9];case"brush_ChromaticWave":return[3,11];case"brush_CoarseBristles":return[3,13];case"brush_Comet":return[3,15];case"brush_DiamondHull":return[3,17];case"brush_Disco":return[3,19];case"brush_DotMarker":return[3,21];case"brush_Dots":return[3,23];case"brush_DoubleTaperedFlat":return[3,25];case"brush_DoubleTaperedMarker":return[3,27];case"brush_DuctTape":return[3,29];case"brush_Electricity":return[3,31];case"brush_Embers":return[3,33];case"brush_EnvironmentDiffuse":return[3,35];case"brush_EnvironmentDiffuseLightMap":return[3,37];case"brush_Fire":return[3,39];case"brush_Flat":return[3,41];case"brush_FlatDeprecated":return[3,43];case"brush_Highlighter":return[3,45];case"brush_Hypercolor":return[3,47];case"brush_HyperGrid":return[3,49];case"brush_Icing":return[3,51];case"brush_Ink":return[3,53];case"brush_Leaves":return[3,55];case"brush_Light":return[3,57];case"brush_LightWire":return[3,59];case"brush_Lofted":return[3,61];case"brush_Marker":return[3,63];case"brush_MatteHull":return[3,65];case"brush_NeonPulse":return[3,67];case"brush_OilPaint":return[3,69];case"brush_Paper":return[3,71];case"brush_PbrTemplate":return[3,73];case"brush_PbrTransparentTemplate":return[3,75];case"brush_Petal":return[3,77];case"brush_Plasma":return[3,79];case"brush_Rainbow":return[3,81];case"brush_ShinyHull":return[3,83];case"brush_Smoke":return[3,85];case"brush_Snow":return[3,87];case"brush_SoftHighlighter":return[3,89];case"brush_Spikes":return[3,91];case"brush_Splatter":return[3,93];case"brush_Stars":return[3,95];case"brush_Streamers":return[3,97];case"brush_Taffy":return[3,99];case"brush_TaperedFlat":return[3,101];case"brush_TaperedMarker":return[3,103];case"brush_TaperedMarker_Flat":return[3,105];case"brush_ThickPaint":return[3,107];case"brush_Toon":return[3,109];case"brush_UnlitHull":return[3,111];case"brush_VelvetInk":return[3,113];case"brush_Waveform":return[3,115];case"brush_WetPaint":return[3,117];case"brush_WigglyGraphite":return[3,119];case"brush_Wire":return[3,121]}return[3,123];case 1:mesh.geometry.name="geometry_BlocksBasic";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));return[4,this.tiltShaderLoader.loadAsync("BlocksBasic")];case 2:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_BlocksBasic";return[3,124];case 3:mesh.geometry.name="geometry_BlocksGem";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));return[4,this.tiltShaderLoader.loadAsync("BlocksGem")];case 4:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_BlocksGem";return[3,124];case 5:mesh.geometry.name="geometry_BlocksGlass";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));return[4,this.tiltShaderLoader.loadAsync("BlocksGlass")];case 6:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_BlocksGlass";return[3,124];case 7:mesh.geometry.name="geometry_Bubbles";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("_tb_unity_normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));mesh.geometry.setAttribute("a_texcoord1",mesh.geometry.getAttribute("_tb_unity_texcoord_1"));return[4,this.tiltShaderLoader.loadAsync("Bubbles")];case 8:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Bubbles";return[3,124];case 9:mesh.geometry.name="geometry_CelVinyl";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("CelVinyl")];case 10:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_CelVinyl";return[3,124];case 11:mesh.geometry.name="geometry_ChromaticWave";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("ChromaticWave")];case 12:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_ChromaticWave";this.updateableMeshes.push(mesh);return[3,124];case 13:mesh.geometry.name="geometry_CoarseBristles";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("CoarseBristles")];case 14:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_CoarseBristles";return[3,124];case 15:mesh.geometry.name="geometry_Comet";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Comet")];case 16:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Comet";this.updateableMeshes.push(mesh);return[3,124];case 17:mesh.geometry.name="geometry_DiamondHull";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("DiamondHull")];case 18:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_DiamondHull";this.updateableMeshes.push(mesh);return[3,124];case 19:mesh.geometry.name="geometry_Disco";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Disco")];case 20:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Disco";this.updateableMeshes.push(mesh);return[3,124];case 21:mesh.geometry.name="geometry_DotMarker";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("DotMarker")];case 22:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_DotMarker";return[3,124];case 23:mesh.geometry.name="geometry_Dots";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("_tb_unity_normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));mesh.geometry.setAttribute("a_texcoord1",mesh.geometry.getAttribute("_tb_unity_texcoord_1"));return[4,this.tiltShaderLoader.loadAsync("Dots")];case 24:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Dots";return[3,124];case 25:mesh.geometry.name="geometry_DoubleTaperedFlat";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("DoubleTaperedFlat")];case 26:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_DoubleTaperedFlat";return[3,124];case 27:mesh.geometry.name="geometry_DoubleTaperedMarker";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("DoubleTaperedMarker")];case 28:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_DoubleTaperedMarker";return[3,124];case 29:mesh.geometry.name="geometry_DuctTape";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("DuctTape")];case 30:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_DuctTape";return[3,124];case 31:mesh.geometry.name="geometry_Electricity";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));mesh.geometry.setAttribute("a_texcoord1",mesh.geometry.getAttribute("_tb_unity_texcoord_1"));return[4,this.tiltShaderLoader.loadAsync("Electricity")];case 32:shader=_b.sent();mesh.material=shader;mesh.material.name="material_Electricity";this.updateableMeshes.push(mesh);return[3,124];case 33:mesh.geometry.name="geometry_Embers";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("_tb_unity_normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));mesh.geometry.setAttribute("a_texcoord1",mesh.geometry.getAttribute("_tb_unity_texcoord_1"));return[4,this.tiltShaderLoader.loadAsync("Embers")];case 34:shader=_b.sent();mesh.material=shader;mesh.material.name="material_Embers";this.updateableMeshes.push(mesh);return[3,124];case 35:mesh.geometry.name="geometry_EnvironmentDiffuse";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("EnvironmentDiffuse")];case 36:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_EnvironmentDiffuse";return[3,124];case 37:mesh.geometry.name="geometry_EnvironmentDiffuseLightMap";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("EnvironmentDiffuseLightMap")];case 38:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_EnvironmentDiffuseLightMap";return[3,124];case 39:mesh.geometry.name="geometry_Fire";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Fire")];case 40:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Fire";this.updateableMeshes.push(mesh);return[3,124];case 41:mesh.geometry.name="geometry_Flat";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Flat")];case 42:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Flat";return[3,124];case 43:mesh.geometry.name="geometry_FlatDeprecated";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("FlatDeprecated")];case 44:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_FlatDeprecated";this.updateableMeshes.push(mesh);return[3,124];case 45:mesh.geometry.name="geometry_Highlighter";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Highlighter")];case 46:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Highlighter";return[3,124];case 47:mesh.geometry.name="geometry_Hypercolor";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Hypercolor")];case 48:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Hypercolor";this.updateableMeshes.push(mesh);return[3,124];case 49:mesh.geometry.name="geometry_HyperGrid";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));mesh.geometry.setAttribute("a_texcoord1",mesh.geometry.getAttribute("_tb_unity_texcoord_1"));return[4,this.tiltShaderLoader.loadAsync("HyperGrid")];case 50:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_HyperGrid";return[3,124];case 51:mesh.geometry.name="geometry_Icing";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Icing")];case 52:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Icing";return[3,124];case 53:mesh.geometry.name="geometry_Ink";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Ink")];case 54:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Ink";return[3,124];case 55:mesh.geometry.name="geometry_Leaves";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Leaves")];case 56:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Leaves";return[3,124];case 57:mesh.geometry.name="geometry_Light";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Light")];case 58:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Light";return[3,124];case 59:mesh.geometry.name="geometry_LightWire";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("LightWire")];case 60:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_LightWire";this.updateableMeshes.push(mesh);return[3,124];case 61:mesh.geometry.name="geometry_Lofted";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Lofted")];case 62:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Lofted";return[3,124];case 63:mesh.geometry.name="geometry_Marker";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Marker")];case 64:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Marker";return[3,124];case 65:mesh.geometry.name="geometry_MatteHull";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));return[4,this.tiltShaderLoader.loadAsync("MatteHull")];case 66:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_MatteHull";return[3,124];case 67:mesh.geometry.name="geometry_NeonPulse";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("NeonPulse")];case 68:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_NeonPulse";this.updateableMeshes.push(mesh);return[3,124];case 69:mesh.geometry.name="geometry_OilPaint";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("OilPaint")];case 70:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_OilPaint";return[3,124];case 71:mesh.geometry.name="geometry_Paper";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Paper")];case 72:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Paper";return[3,124];case 73:mesh.geometry.name="geometry_PbrTemplate";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("PbrTemplate")];case 74:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_PbrTemplate";return[3,124];case 75:mesh.geometry.name="geometry_PbrTransparentTemplate";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("PbrTransparentTemplate")];case 76:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_PbrTransparentTemplate";return[3,124];case 77:mesh.geometry.name="geometry_Petal";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Petal")];case 78:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Petal";return[3,124];case 79:mesh.geometry.name="geometry_Plasma";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Plasma")];case 80:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Plasma";this.updateableMeshes.push(mesh);return[3,124];case 81:mesh.geometry.name="geometry_Rainbow";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Rainbow")];case 82:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Rainbow";this.updateableMeshes.push(mesh);return[3,124];case 83:mesh.geometry.name="geometry_ShinyHull";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("ShinyHull")];case 84:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_ShinyHull";return[3,124];case 85:mesh.geometry.name="geometry_Smoke";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("_tb_unity_normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));mesh.geometry.setAttribute("a_texcoord1",mesh.geometry.getAttribute("_tb_unity_texcoord_1"));return[4,this.tiltShaderLoader.loadAsync("Smoke")];case 86:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Smoke";return[3,124];case 87:mesh.geometry.name="geometry_Snow";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("_tb_unity_normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));mesh.geometry.setAttribute("a_texcoord1",mesh.geometry.getAttribute("_tb_unity_texcoord_1"));return[4,this.tiltShaderLoader.loadAsync("Snow")];case 88:shader=_b.sent();mesh.material=shader;mesh.material.name="material_Snow";this.updateableMeshes.push(mesh);return[3,124];case 89:mesh.geometry.name="geometry_SoftHighlighter";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("SoftHighlighter")];case 90:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_SoftHighlighter";return[3,124];case 91:mesh.geometry.name="geometry_Spikes";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Spikes")];case 92:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Spikes";return[3,124];case 93:mesh.geometry.name="geometry_Splatter";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Splatter")];case 94:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Splatter";return[3,124];case 95:mesh.geometry.name="geometry_Stars";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("_tb_unity_normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));mesh.geometry.setAttribute("a_texcoord1",mesh.geometry.getAttribute("_tb_unity_texcoord_1"));return[4,this.tiltShaderLoader.loadAsync("Stars")];case 96:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Stars";this.updateableMeshes.push(mesh);return[3,124];case 97:mesh.geometry.name="geometry_Streamers";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Streamers")];case 98:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Streamers";this.updateableMeshes.push(mesh);return[3,124];case 99:mesh.geometry.name="geometry_Taffy";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("DiamondHull")];case 100:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_DiamondHull";this.updateableMeshes.push(mesh);return[3,124];case 101:mesh.geometry.name="geometry_TaperedFlat";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("TaperedFlat")];case 102:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_TaperedFlat";return[3,124];case 103:mesh.geometry.name="geometry_TaperedMarker";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("TaperedMarker")];case 104:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_TaperedMarker";return[3,124];case 105:mesh.geometry.name="geometry_Flat";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Flat")];case 106:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Flat";return[3,124];case 107:mesh.geometry.name="geometry_ThickPaint";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("ThickPaint")];case 108:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_ThickPaint";return[3,124];case 109:mesh.geometry.name="geometry_Toon";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));return[4,this.tiltShaderLoader.loadAsync("Toon")];case 110:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Toon";return[3,124];case 111:mesh.geometry.name="geometry_UnlitHull";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));return[4,this.tiltShaderLoader.loadAsync("UnlitHull")];case 112:shader=_b.sent();mesh.material=shader;mesh.material.name="material_UnlitHull";return[3,124];case 113:mesh.geometry.name="geometry_VelvetInk";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("VelvetInk")];case 114:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_VelvetInk";return[3,124];case 115:mesh.geometry.name="geometry_Waveform";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("Waveform")];case 116:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_Waveform";this.updateableMeshes.push(mesh);return[3,124];case 117:mesh.geometry.name="geometry_WetPaint";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("WetPaint")];case 118:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_WetPaint";return[3,124];case 119:mesh.geometry.name="geometry_WigglyGraphite";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));mesh.geometry.setAttribute("a_texcoord0",mesh.geometry.getAttribute("_tb_unity_texcoord_0"));return[4,this.tiltShaderLoader.loadAsync("WigglyGraphite")];case 120:shader=_b.sent();shader.uniforms["u_SceneLight_0_matrix"].value=light0transform;shader.uniforms["u_SceneLight_1_matrix"].value=light1transform;shader.uniformsNeedUpdate=true;mesh.material=shader;mesh.material.name="material_WigglyGraphite";this.updateableMeshes.push(mesh);return[3,124];case 121:mesh.geometry.name="geometry_Wire";mesh.geometry.setAttribute("a_position",mesh.geometry.getAttribute("position"));mesh.geometry.setAttribute("a_normal",mesh.geometry.getAttribute("normal"));mesh.geometry.setAttribute("a_color",mesh.geometry.getAttribute("color"));return[4,this.tiltShaderLoader.loadAsync("Wire")];case 122:shader=_b.sent();mesh.material=shader;mesh.material.name="material_Wire";return[3,124];case 123:mesh.material=new MeshStandardMaterial({visible:false});_b.label=124;case 124:return[2]}}))}))}));_this.finishSetup(_this.loadedModel)}))};Loader.prototype.finishSetup=function(model){this.scene.clear();this.scene.background=this.sceneColor;this.scene.add(model);var box=(new Box3).setFromObject(model);var boxSize=box.getSize(new Vector3).length();var boxCenter=box.getCenter(new Vector3);this.cameraControls.minDistance=boxSize*.01;this.cameraControls.maxDistance=boxSize;var midDistance=this.cameraControls.minDistance+(this.cameraControls.maxDistance-this.cameraControls.minDistance)/2;this.cameraControls.setTarget(boxCenter.x,boxCenter.y,boxCenter.z);this.cameraControls.dollyTo(midDistance,true);this.cameraControls.saveState();var keyLightNode=new DirectionalLight(16772829,.325);keyLightNode.position.set(-19.021,34.882,-19.134);keyLightNode.scale.set(0,0,16.828);this.scene.add(keyLightNode);var headLightNode=new DirectionalLight(16772829,.25);headLightNode.position.set(-16.661,8.33,8.33);headLightNode.scale.set(1,1,1);this.scene.add(headLightNode);var __hemi__=new HemisphereLight(15724543,11711154,.6);__hemi__.position.set(0,1,0);this.scene.add(__hemi__);this.loaded=true};Loader.prototype.initTilt=function(url){var _this=this;this.tiltLoader.load(url,(function(tilt){_this.loadedModel=tilt;_this.finishSetup(_this.loadedModel)}))};Loader.prototype.initPolyGltf=function(url){var _this=this;this.legacygltf.load(url,(function(gltf){_this.loadedModel=gltf.scene;_this.finishSetup(_this.loadedModel)}))};Loader.prototype.initPolyGltf2=function(url){var _this=this;this.gltfLoader.load(url,(function(gltf){_this.loadedModel=gltf.scene;_this.finishSetup(_this.loadedModel)}))};Loader.prototype.loadGLTF=function(url){this.initGltf2(url)};Loader.prototype.loadIcosaAsset=function(userID,assetID,format){var http=new XMLHttpRequest;var url="https://api.icosa.gallery/assets/"+userID+"/"+assetID;var that=this;http.onreadystatechange=function(){if(this.readyState==4&&this.status==200){var icosaAsset=Convert.toIcosa(this.response);var types_1={};icosaAsset.formats.forEach((function(newformat){types_1[newformat.format]=newformat}));if(format){switch(format){case"GLTF2":if(types_1.hasOwnProperty("GLTF2")){that.initPolyGltf2(types_1.GLTF2.url);return}break;case"GLTF":if(types_1.hasOwnProperty("GLTF")){that.initPolyGltf(types_1.GLTF.url);return}break;case"TILT":if(types_1.hasOwnProperty("TILT")){that.initTilt(types_1.TILT.url);return}break}}if(types_1.hasOwnProperty("GLTF2")){that.initGltf2(types_1.GLTF2.url);return}if(types_1.hasOwnProperty("GLTF")){that.initPolyGltf(types_1.GLTF.url);return}if(types_1.hasOwnProperty("TILT")){that.initTilt(types_1.TILT.url);return}}};http.open("GET",url,true);var loggedInUser=JSON.parse(localStorage.getItem("user"));if(loggedInUser){http.setRequestHeader("Authorization",loggedInUser.token_type+" "+loggedInUser.token)}http.send()};Loader.prototype.loadIcosaUrl=function(url,format){var splitURL=url.split("/");if(splitURL[2]==="icosa.gallery")this.loadIcosaAsset(splitURL[4],splitURL[5],format)};Loader.prototype.loadPolyAsset=function(assetID,format){var http=new XMLHttpRequest;var url="https://api.icosa.gallery/poly/assets/"+assetID;var that=this;http.onreadystatechange=function(){if(this.readyState==4&&this.status==200){var polyAsset=Convert.toPoly(this.response);var types_2={};if(polyAsset.presentationParams.backgroundColor){that.sceneColor=new Color(polyAsset.presentationParams.backgroundColor)}polyAsset.formats.forEach((function(format){types_2[format.formatType]=format}));if(format){switch(format){case"GLTF2":if(types_2.hasOwnProperty("GLTF2")){that.initPolyGltf2(types_2.GLTF2.root.url);return}break;case"GLTF":if(types_2.hasOwnProperty("GLTF")){that.initPolyGltf(types_2.GLTF.root.url);return}break;case"TILT":if(types_2.hasOwnProperty("TILT")){that.initTilt(types_2.TILT.root.url);return}break}}if(types_2.hasOwnProperty("GLTF2")){that.initPolyGltf2(types_2.GLTF2.root.url);return}if(types_2.hasOwnProperty("GLTF")){that.initPolyGltf(types_2.GLTF.root.url);return}if(types_2.hasOwnProperty("TILT")){that.initTilt(types_2.TILT.root.url);return}}};http.open("GET",url,true);var loggedInUser=JSON.parse(localStorage.getItem("user"));if(loggedInUser){http.setRequestHeader("Authorization",loggedInUser.token_type+" "+loggedInUser.token)}http.send()};Loader.prototype.loadPolyUrl=function(url,format){var splitURL=url.split("/");if(splitURL[2]==="poly.google.com")this.loadPolyAsset(splitURL[4],format)};Loader.prototype.loadPolyTilt=function(url){this.loadPolyUrl(url,"TILT")};Loader.prototype.loadPolyGltf=function(url){this.loadPolyUrl(url,"GLTF")};return Loader}(); /*! * hold-event * https://github.com/yomotsu/hold-event diff --git a/dist/icosa-viewer.module.js b/dist/icosa-viewer.module.js index 7e3da1c..ab4e7ed 100644 --- a/dist/icosa-viewer.module.js +++ b/dist/icosa-viewer.module.js @@ -44764,6 +44764,10 @@ var Loader = (function () { } }; http.open("GET", url, true); + var loggedInUser = JSON.parse(localStorage.getItem("user")); + if (loggedInUser) { + http.setRequestHeader("Authorization", loggedInUser.token_type + " " + loggedInUser.token); + } http.send(); }; Loader.prototype.loadIcosaUrl = function (url, format) { @@ -44822,6 +44826,10 @@ var Loader = (function () { } }; http.open("GET", url, true); + var loggedInUser = JSON.parse(localStorage.getItem("user")); + if (loggedInUser) { + http.setRequestHeader("Authorization", loggedInUser.token_type + " " + loggedInUser.token); + } http.send(); }; Loader.prototype.loadPolyUrl = function (url, format) { diff --git a/package.json b/package.json index d35c662..a73e80a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "icosa-viewer", - "version": "0.4.7", + "version": "0.4.9", "description": "Viewer for Tilt Brush / Open Brush files and derivatives", "scripts": { "dev": "rollup --config --watch",