[{"data":1,"prerenderedAt":1193},["ShallowReactive",2],{"navigation":3,"/api/staging/use-environment":474,"/api/staging/use-environment-surround":1188},[4,22],{"title":5,"path":6,"stem":7,"children":8},"Getting Started","/getting-started","1.getting-started/1.index",[9,10,14,18],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13},"Installation Guide","/getting-started/installation","1.getting-started/2.installation",{"title":15,"path":16,"stem":17},"Usage","/getting-started/usage","1.getting-started/3.usage",{"title":19,"path":20,"stem":21},"Upgrade Guide","/getting-started/upgrade-guide","1.getting-started/4.upgrade-guide",{"title":23,"path":24,"stem":25,"children":26},"Api","/api","2.api",[27,30,84,114,156,190,284,310,344,394,440],{"title":28,"path":24,"stem":29},"All","2.api/index",{"title":31,"path":32,"stem":33,"children":34},"Abstractions","/api/abstractions","2.api/1.abstractions/index",[35,36,40,44,48,52,56,60,64,68,72,76,80],{"title":31,"path":32,"stem":33},{"title":37,"path":38,"stem":39},"Align","/api/abstractions/align","2.api/1.abstractions/align",{"title":41,"path":42,"stem":43},"Billboard","/api/abstractions/billboard","2.api/1.abstractions/billboard",{"title":45,"path":46,"stem":47},"Camera Shake","/api/abstractions/camera-shake","2.api/1.abstractions/camera-shake",{"title":49,"path":50,"stem":51},"Decal","/api/abstractions/decal","2.api/1.abstractions/decal",{"title":53,"path":54,"stem":55},"Edges","/api/abstractions/edges","2.api/1.abstractions/edges",{"title":57,"path":58,"stem":59},"Fit","/api/abstractions/fit","2.api/1.abstractions/fit",{"title":61,"path":62,"stem":63},"Levioso (Float)","/api/abstractions/levioso","2.api/1.abstractions/levioso",{"title":65,"path":66,"stem":67},"Mask","/api/abstractions/mask","2.api/1.abstractions/mask",{"title":69,"path":70,"stem":71},"Outline","/api/abstractions/outline","2.api/1.abstractions/outline",{"title":73,"path":74,"stem":75},"Sampler","/api/abstractions/sampler","2.api/1.abstractions/sampler",{"title":77,"path":78,"stem":79},"ScreenSizer","/api/abstractions/screen-sizer","2.api/1.abstractions/screen-sizer",{"title":81,"path":82,"stem":83},"ScreenSpace","/api/abstractions/screen-space","2.api/1.abstractions/screen-space",{"title":85,"path":86,"stem":87,"children":88},"Controls","/api/controls","2.api/2.controls/index",[89,90,94,98,102,106,110],{"title":85,"path":86,"stem":87},{"title":91,"path":92,"stem":93},"Camera Controls","/api/controls/camera-controls","2.api/2.controls/camera-controls",{"title":95,"path":96,"stem":97},"Keyboard Controls","/api/controls/keyboard-controls","2.api/2.controls/keyboard-controls",{"title":99,"path":100,"stem":101},"Map Controls","/api/controls/map-controls","2.api/2.controls/map-controls",{"title":103,"path":104,"stem":105},"Orbit Controls","/api/controls/orbit-controls","2.api/2.controls/orbit-controls",{"title":107,"path":108,"stem":109},"PointerLock Controls","/api/controls/pointer-lock-controls","2.api/2.controls/pointer-lock-controls",{"title":111,"path":112,"stem":113},"Transform Controls","/api/controls/transform-controls","2.api/2.controls/transform-controls",{"title":115,"path":116,"stem":117,"children":118},"Loaders","/api/loaders","2.api/3.loaders/index",[119,120,124,128,132,136,140,144,148,152],{"title":115,"path":116,"stem":117},{"title":121,"path":122,"stem":123},"useGLTF","/api/loaders/use-gltf","2.api/3.loaders/1.use-gltf",{"title":125,"path":126,"stem":127},"GLTFModel","/api/loaders/gltf-model","2.api/3.loaders/2.gltf-model",{"title":129,"path":130,"stem":131},"useFBX","/api/loaders/use-fbx","2.api/3.loaders/3.use-fbx",{"title":133,"path":134,"stem":135},"FBXModel","/api/loaders/fbx-model","2.api/3.loaders/4.fbx-model",{"title":137,"path":138,"stem":139},"useTexture","/api/loaders/use-texture","2.api/3.loaders/5.use-texture",{"title":141,"path":142,"stem":143},"useTextures","/api/loaders/use-textures","2.api/3.loaders/6.use-textures",{"title":145,"path":146,"stem":147},"useSVG","/api/loaders/use-svg","2.api/3.loaders/7.use-svg",{"title":149,"path":150,"stem":151},"useProgress","/api/loaders/use-progress","2.api/3.loaders/use-progress",{"title":153,"path":154,"stem":155},"useVideoTexture","/api/loaders/use-video-texture","2.api/3.loaders/use-video-texture",{"title":157,"path":158,"stem":159,"children":160},"Materials","/api/materials","2.api/4.materials/index",[161,162,166,170,174,178,182,186],{"title":157,"path":158,"stem":159},{"title":163,"path":164,"stem":165},"Custom Shader Material","/api/materials/custom-shader-material","2.api/4.materials/custom-shader-material",{"title":167,"path":168,"stem":169},"Mesh Glass Material","/api/materials/glass-material","2.api/4.materials/glass-material",{"title":171,"path":172,"stem":173},"Holographic Material","/api/materials/holographic-material","2.api/4.materials/holographic-material",{"title":175,"path":176,"stem":177},"Mesh Discard Material","/api/materials/mesh-discard-material","2.api/4.materials/mesh-discard-material",{"title":179,"path":180,"stem":181},"Mesh Reflection Material","/api/materials/mesh-reflection-material","2.api/4.materials/mesh-reflection-material",{"title":183,"path":184,"stem":185},"Point Material","/api/materials/point-material","2.api/4.materials/point-material",{"title":187,"path":188,"stem":189},"Wobble Material","/api/materials/wobble-material","2.api/4.materials/wobble-material",{"title":191,"path":192,"stem":193,"children":194},"Shapes","/api/shapes","2.api/5.shapes/index",[195,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276,280],{"title":191,"path":192,"stem":193},{"title":197,"path":198,"stem":199},"Box","/api/shapes/box","2.api/5.shapes/box",{"title":201,"path":202,"stem":203},"CatmullRomCurve3","/api/shapes/catmullromcurve3","2.api/5.shapes/catmullromcurve3",{"title":205,"path":206,"stem":207},"Circle","/api/shapes/circle","2.api/5.shapes/circle",{"title":209,"path":210,"stem":211},"Cone","/api/shapes/cone","2.api/5.shapes/cone",{"title":213,"path":214,"stem":215},"Cubic Bezier Line","/api/shapes/cubic-bezier-line","2.api/5.shapes/cubic-bezier-line",{"title":217,"path":218,"stem":219},"Cylinder","/api/shapes/cylinder","2.api/5.shapes/cylinder",{"title":221,"path":222,"stem":223},"Dodecahedron","/api/shapes/dodecahedron","2.api/5.shapes/dodecahedron",{"title":225,"path":226,"stem":227},"Grid","/api/shapes/grid","2.api/5.shapes/grid",{"title":229,"path":230,"stem":231},"Icosahedron","/api/shapes/icosahedron","2.api/5.shapes/icosahedron",{"title":233,"path":234,"stem":235},"Line2","/api/shapes/line2","2.api/5.shapes/line2",{"title":237,"path":238,"stem":239},"Octahedron","/api/shapes/octahedron","2.api/5.shapes/octahedron",{"title":241,"path":242,"stem":243},"Plane","/api/shapes/plane","2.api/5.shapes/plane",{"title":245,"path":246,"stem":247},"Quadratic Bezier Line","/api/shapes/quadratic-bezier-line","2.api/5.shapes/quadratic-bezier-line",{"title":249,"path":250,"stem":251},"Ring","/api/shapes/ring","2.api/5.shapes/ring",{"title":253,"path":254,"stem":255},"Rounded Box","/api/shapes/rounded-box","2.api/5.shapes/rounded-box",{"title":257,"path":258,"stem":259},"Screen Quad","/api/shapes/screen-quad","2.api/5.shapes/screen-quad",{"title":261,"path":262,"stem":263},"Sphere","/api/shapes/sphere","2.api/5.shapes/sphere",{"title":265,"path":266,"stem":267},"Superformula","/api/shapes/superformula","2.api/5.shapes/superformula",{"title":269,"path":270,"stem":271},"Tetrahedron","/api/shapes/tetrahedron","2.api/5.shapes/tetrahedron",{"title":273,"path":274,"stem":275},"Torus","/api/shapes/torus","2.api/5.shapes/torus",{"title":277,"path":278,"stem":279},"Torus Knot","/api/shapes/torus-knot","2.api/5.shapes/torus-knot",{"title":281,"path":282,"stem":283},"Tube","/api/shapes/tube","2.api/5.shapes/tube",{"title":285,"path":286,"stem":287,"children":288},"Debug/Performance","/api/debug-performance","2.api/6.debug-performance/index",[289,290,294,298,302,306],{"title":285,"path":286,"stem":287},{"title":291,"path":292,"stem":293},"Helper","/api/debug-performance/helper","2.api/6.debug-performance/helper",{"title":295,"path":296,"stem":297},"LOD","/api/debug-performance/lod","2.api/6.debug-performance/lod",{"title":299,"path":300,"stem":301},"Stats","/api/debug-performance/stats","2.api/6.debug-performance/stats",{"title":303,"path":304,"stem":305},"StatsGl","/api/debug-performance/stats-gl","2.api/6.debug-performance/stats-gl",{"title":307,"path":308,"stem":309},"useBVH","/api/debug-performance/use-bvh","2.api/6.debug-performance/use-bvh",{"title":311,"path":312,"stem":313,"children":314},"Light/Shadow","/api/light-shadow","2.api/7.light-shadow/index",[315,316,320,324,328,332,336,340],{"title":311,"path":312,"stem":313},{"title":317,"path":318,"stem":319},"Accumulative Shadows","/api/light-shadow/accumulative-shadows","2.api/7.light-shadow/accumulative-shadows",{"title":321,"path":322,"stem":323},"Bake Shadows","/api/light-shadow/bake-shadows","2.api/7.light-shadow/bake-shadows",{"title":325,"path":326,"stem":327},"Circle Shadow","/api/light-shadow/circle-shadow","2.api/7.light-shadow/circle-shadow",{"title":329,"path":330,"stem":331},"Contact Shadows","/api/light-shadow/contact-shadows","2.api/7.light-shadow/contact-shadows",{"title":333,"path":334,"stem":335},"Lensflare","/api/light-shadow/lensflare","2.api/7.light-shadow/lensflare",{"title":337,"path":338,"stem":339},"Randomized Lights","/api/light-shadow/randomized-lights","2.api/7.light-shadow/randomized-lights",{"title":341,"path":342,"stem":343},"Soft Shadows","/api/light-shadow/soft-shadows","2.api/7.light-shadow/soft-shadows",{"title":345,"path":346,"stem":347,"children":348},"Staging","/api/staging","2.api/8.staging/index",[349,350,354,358,362,366,370,374,378,382,386,390],{"title":345,"path":346,"stem":347},{"title":351,"path":352,"stem":353},"Environment","/api/staging/environment","2.api/8.staging/1.environment",{"title":355,"path":356,"stem":357},"useEnvironment","/api/staging/use-environment","2.api/8.staging/2.use-environment",{"title":359,"path":360,"stem":361},"Lightformer","/api/staging/lightformer","2.api/8.staging/3.lightformer",{"title":363,"path":364,"stem":365},"Backdrop","/api/staging/backdrop","2.api/8.staging/backdrop",{"title":367,"path":368,"stem":369},"Ocean","/api/staging/ocean","2.api/8.staging/ocean",{"title":371,"path":372,"stem":373},"Precipitation","/api/staging/precipitation","2.api/8.staging/precipitation",{"title":375,"path":376,"stem":377},"Sky","/api/staging/sky","2.api/8.staging/sky",{"title":379,"path":380,"stem":381},"Smoke","/api/staging/smoke","2.api/8.staging/smoke",{"title":383,"path":384,"stem":385},"Sparkles","/api/staging/sparkles","2.api/8.staging/sparkles",{"title":387,"path":388,"stem":389},"Stage","/api/staging/stage","2.api/8.staging/stage",{"title":391,"path":392,"stem":393},"Stars","/api/staging/stars","2.api/8.staging/stars",{"title":395,"path":396,"stem":397,"children":398},"Objects","/api/objects","2.api/9.objects/index",[399,400,404,408,412,416,420,424,428,432,436],{"title":395,"path":396,"stem":397},{"title":401,"path":402,"stem":403},"AnimatedSprite","/api/objects/animated-sprite","2.api/9.objects/animated-sprite",{"title":405,"path":406,"stem":407},"CubeCamera","/api/objects/cube-camera","2.api/9.objects/cube-camera",{"title":409,"path":410,"stem":411},"Fbo","/api/objects/fbo","2.api/9.objects/fbo",{"title":413,"path":414,"stem":415},"GradientTexture","/api/objects/gradient-texture","2.api/9.objects/gradient-texture",{"title":417,"path":418,"stem":419},"HTML","/api/objects/html","2.api/9.objects/html",{"title":421,"path":422,"stem":423},"Image","/api/objects/image","2.api/9.objects/image",{"title":425,"path":426,"stem":427},"MarchingCubes","/api/objects/marching-cubes","2.api/9.objects/marching-cubes",{"title":429,"path":430,"stem":431},"Reflector","/api/objects/reflector","2.api/9.objects/reflector",{"title":433,"path":434,"stem":435},"Refractor","/api/objects/refractor","2.api/9.objects/refractor",{"title":437,"path":438,"stem":439},"Text3D","/api/objects/text-3d","2.api/9.objects/text-3d",{"title":441,"path":442,"stem":443,"children":444},"Miscellaneous","/api/miscellaneous","2.api/miscellaneous/index",[445,446,450,454,458,462,466,470],{"title":441,"path":442,"stem":443},{"title":447,"path":448,"stem":449},"Bounds","/api/miscellaneous/bounds","2.api/miscellaneous/bounds",{"title":451,"path":452,"stem":453},"GlobalAudio","/api/miscellaneous/global-audio","2.api/miscellaneous/global-audio",{"title":455,"path":456,"stem":457},"MouseParallax","/api/miscellaneous/mouse-parallax","2.api/miscellaneous/mouse-parallax",{"title":459,"path":460,"stem":461},"PositionalAudio","/api/miscellaneous/positional-audio","2.api/miscellaneous/positional-audio",{"title":463,"path":464,"stem":465},"useAnimations","/api/miscellaneous/use-animations","2.api/miscellaneous/use-animations",{"title":467,"path":468,"stem":469},"useGLTFExporter","/api/miscellaneous/use-gltf-exporter","2.api/miscellaneous/use-gltf-exporter",{"title":471,"path":472,"stem":473},"useIntersect","/api/miscellaneous/use-intersect","2.api/miscellaneous/use-intersect",{"id":475,"title":355,"body":476,"description":1182,"extension":1183,"links":1184,"meta":1185,"navigation":620,"path":356,"seo":1186,"stem":357,"__hash__":1187},"docs/2.api/8.staging/2.use-environment.md",{"type":477,"value":478,"toc":1178},"minimark",[479,485,500,511,515,521,784,791,826,833,918,922,1174],[480,481,482],"scene-wrapper",{},[483,484],"staging-environment",{},[486,487,488,491,492,495,496,499],"p",{},[489,490,355],"code",{}," composable that automatically sets up a global cubemap, which affects the default ",[489,493,494],{},"scene.environment",", and optionally ",[489,497,498],{},"scene.background",".",[486,501,502,503,510],{},"It uses the ",[504,505,509],"a",{"href":506,"rel":507},"https://threejs.org/docs/#api/en/loaders/CubeTextureLoader",[508],"nofollow","CubeTextureLoader"," to load the cubemap",[512,513,15],"h2",{"id":514},"usage",[516,517,518],"prose-warning",{},[486,519,520],{},"UseEnvironment needs to be wrapped by a Suspense component",[522,523,528],"pre",{"className":524,"code":525,"language":526,"meta":527,"style":527},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nimport { useEnvironment } from '@tresjs/cientos'\nimport { SRGBColorSpace } from 'three'\n\nconst texture = await useEnvironment({\n  files: [\n    '/textures/environmentMaps/0/px.jpg',\n    '/textures/environmentMaps/0/nx.jpg',\n    '/textures/environmentMaps/0/py.jpg',\n    '/textures/environmentMaps/0/ny.jpg',\n    '/textures/environmentMaps/0/pz.jpg',\n    '/textures/environmentMaps/0/nz.jpg',\n  ],\n  path: '',\n  encoding: SRGBColorSpace,\n})\n\u003C/script>\n","vue","",[489,529,530,565,594,615,622,645,657,672,684,696,708,720,732,740,753,765,774],{"__ignoreMap":527},[531,532,535,539,543,547,550,553,556,560,562],"span",{"class":533,"line":534},"line",1,[531,536,538],{"class":537},"sMK4o","\u003C",[531,540,542],{"class":541},"swJcz","script",[531,544,546],{"class":545},"spNyl"," setup",[531,548,549],{"class":545}," lang",[531,551,552],{"class":537},"=",[531,554,555],{"class":537},"\"",[531,557,559],{"class":558},"sfazB","ts",[531,561,555],{"class":537},[531,563,564],{"class":537},">\n",[531,566,568,572,575,579,582,585,588,591],{"class":533,"line":567},2,[531,569,571],{"class":570},"s7zQu","import",[531,573,574],{"class":537}," {",[531,576,578],{"class":577},"sTEyZ"," useEnvironment",[531,580,581],{"class":537}," }",[531,583,584],{"class":570}," from",[531,586,587],{"class":537}," '",[531,589,590],{"class":558},"@tresjs/cientos",[531,592,593],{"class":537},"'\n",[531,595,597,599,601,604,606,608,610,613],{"class":533,"line":596},3,[531,598,571],{"class":570},[531,600,574],{"class":537},[531,602,603],{"class":577}," SRGBColorSpace",[531,605,581],{"class":537},[531,607,584],{"class":570},[531,609,587],{"class":537},[531,611,612],{"class":558},"three",[531,614,593],{"class":537},[531,616,618],{"class":533,"line":617},4,[531,619,621],{"emptyLinePlaceholder":620},true,"\n",[531,623,625,628,631,633,636,639,642],{"class":533,"line":624},5,[531,626,627],{"class":545},"const",[531,629,630],{"class":577}," texture ",[531,632,552],{"class":537},[531,634,635],{"class":570}," await",[531,637,578],{"class":638},"s2Zo4",[531,640,641],{"class":577},"(",[531,643,644],{"class":537},"{\n",[531,646,648,651,654],{"class":533,"line":647},6,[531,649,650],{"class":541},"  files",[531,652,653],{"class":537},":",[531,655,656],{"class":577}," [\n",[531,658,660,663,666,669],{"class":533,"line":659},7,[531,661,662],{"class":537},"    '",[531,664,665],{"class":558},"/textures/environmentMaps/0/px.jpg",[531,667,668],{"class":537},"'",[531,670,671],{"class":537},",\n",[531,673,675,677,680,682],{"class":533,"line":674},8,[531,676,662],{"class":537},[531,678,679],{"class":558},"/textures/environmentMaps/0/nx.jpg",[531,681,668],{"class":537},[531,683,671],{"class":537},[531,685,687,689,692,694],{"class":533,"line":686},9,[531,688,662],{"class":537},[531,690,691],{"class":558},"/textures/environmentMaps/0/py.jpg",[531,693,668],{"class":537},[531,695,671],{"class":537},[531,697,699,701,704,706],{"class":533,"line":698},10,[531,700,662],{"class":537},[531,702,703],{"class":558},"/textures/environmentMaps/0/ny.jpg",[531,705,668],{"class":537},[531,707,671],{"class":537},[531,709,711,713,716,718],{"class":533,"line":710},11,[531,712,662],{"class":537},[531,714,715],{"class":558},"/textures/environmentMaps/0/pz.jpg",[531,717,668],{"class":537},[531,719,671],{"class":537},[531,721,723,725,728,730],{"class":533,"line":722},12,[531,724,662],{"class":537},[531,726,727],{"class":558},"/textures/environmentMaps/0/nz.jpg",[531,729,668],{"class":537},[531,731,671],{"class":537},[531,733,735,738],{"class":533,"line":734},13,[531,736,737],{"class":577},"  ]",[531,739,671],{"class":537},[531,741,743,746,748,751],{"class":533,"line":742},14,[531,744,745],{"class":541},"  path",[531,747,653],{"class":537},[531,749,750],{"class":537}," ''",[531,752,671],{"class":537},[531,754,756,759,761,763],{"class":533,"line":755},15,[531,757,758],{"class":541},"  encoding",[531,760,653],{"class":537},[531,762,603],{"class":577},[531,764,671],{"class":537},[531,766,768,771],{"class":533,"line":767},16,[531,769,770],{"class":537},"}",[531,772,773],{"class":577},")\n",[531,775,777,780,782],{"class":533,"line":776},17,[531,778,779],{"class":537},"\u003C/",[531,781,542],{"class":541},[531,783,564],{"class":537},[486,785,786,787,790],{},"Then you can use the ",[489,788,789],{},"texture"," in your scene:",[522,792,795],{"className":524,"code":793,"highlights":794,"language":526,"meta":527,"style":527},"\u003CTresMesh>\n  \u003CTresSphereGeometry />\n  \u003CTresMeshStandardMaterial :map=\"texture\" />\n\u003C/TresMesh>\n",[596],[489,796,797,806,811,818],{"__ignoreMap":527},[531,798,799,801,804],{"class":533,"line":534},[531,800,538],{"class":537},[531,802,803],{"class":541},"TresMesh",[531,805,564],{"class":537},[531,807,808],{"class":533,"line":567},[531,809,810],{"class":577},"  \u003CTresSphereGeometry />\n",[531,812,815],{"class":813,"line":596},[533,814],"highlight",[531,816,817],{"class":577},"  \u003CTresMeshStandardMaterial :map=\"texture\" />\n",[531,819,820,822,824],{"class":533,"line":617},[531,821,779],{"class":537},[531,823,803],{"class":541},[531,825,564],{"class":537},[486,827,828,829,832],{},"You can also pass the ",[489,830,831],{},".hdr"," file directly",[522,834,837],{"className":835,"code":836,"language":559,"meta":527,"style":527},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { useEnvironment } from '@tresjs/cientos'\n\nconst texture = await useEnvironment({\n  files: '/sunset.hdr',\n  path: '',\n  encoding: SRGBColorSpace,\n})\n",[489,838,839,857,861,877,892,902,912],{"__ignoreMap":527},[531,840,841,843,845,847,849,851,853,855],{"class":533,"line":534},[531,842,571],{"class":570},[531,844,574],{"class":537},[531,846,578],{"class":577},[531,848,581],{"class":537},[531,850,584],{"class":570},[531,852,587],{"class":537},[531,854,590],{"class":558},[531,856,593],{"class":537},[531,858,859],{"class":533,"line":567},[531,860,621],{"emptyLinePlaceholder":620},[531,862,863,865,867,869,871,873,875],{"class":533,"line":596},[531,864,627],{"class":545},[531,866,630],{"class":577},[531,868,552],{"class":537},[531,870,635],{"class":570},[531,872,578],{"class":638},[531,874,641],{"class":577},[531,876,644],{"class":537},[531,878,879,881,883,885,888,890],{"class":533,"line":617},[531,880,650],{"class":541},[531,882,653],{"class":537},[531,884,587],{"class":537},[531,886,887],{"class":558},"/sunset.hdr",[531,889,668],{"class":537},[531,891,671],{"class":537},[531,893,894,896,898,900],{"class":533,"line":624},[531,895,745],{"class":541},[531,897,653],{"class":537},[531,899,750],{"class":537},[531,901,671],{"class":537},[531,903,904,906,908,910],{"class":533,"line":647},[531,905,758],{"class":541},[531,907,653],{"class":537},[531,909,603],{"class":577},[531,911,671],{"class":537},[531,913,914,916],{"class":533,"line":659},[531,915,770],{"class":537},[531,917,773],{"class":577},[512,919,921],{"id":920},"options","Options",[923,924,925,945],"table",{},[926,927,928],"thead",{},[929,930,931,936,939,942],"tr",{},[932,933,935],"th",{"align":934},"left","Name",[932,937,938],{},"Type",[932,940,941],{},"Default",[932,943,944],{},"Description",[946,947,948,970,990,1015,1037,1057,1076,1099,1118,1136,1156],"tbody",{},[929,949,950,957,962,967],{},[951,952,953],"td",{"align":934},[954,955,956],"strong",{},"files",[951,958,959],{},[489,960,961],{},"Array",[951,963,964],{},[489,965,966],{},"undefined",[951,968,969],{},"Array of 6 urls to images, one for each side of the CubeTexture. or and HDR",[929,971,972,977,982,987],{},[951,973,974],{"align":934},[954,975,976],{},"path",[951,978,979],{},[489,980,981],{},"boolean",[951,983,984],{},[489,985,986],{},"false",[951,988,989],{},"Path to the environment map files.",[929,991,992,997,1002,1012],{},[951,993,994],{"align":934},[954,995,996],{},"encoding",[951,998,999],{},[489,1000,1001],{},"Encoding",[951,1003,1004,1007,1008,1011],{},[489,1005,1006],{},"SRGBColorSpace"," for an array of files and ",[489,1009,1010],{},"LinearEncoding"," for a single texture",[951,1013,1014],{},"Encoding of the environment map.",[929,1016,1017,1022,1026,1030],{},[951,1018,1019],{"align":934},[954,1020,1021],{},"background",[951,1023,1024],{},[489,1025,981],{},[951,1027,1028],{},[489,1029,986],{},[951,1031,1032,1033,1036],{},"If ",[489,1034,1035],{},"true"," the texture will be used as the scene background.",[929,1038,1039,1044,1049,1054],{},[951,1040,1041],{"align":934},[954,1042,1043],{},"blur",[951,1045,1046],{},[489,1047,1048],{},"number",[951,1050,1051],{},[489,1052,1053],{},"0",[951,1055,1056],{},"Blur factor between 0 and 1. (only works with three 0.146 and up)",[929,1058,1059,1064,1069,1073],{},[951,1060,1061],{"align":934},[954,1062,1063],{},"preset",[951,1065,1066],{},[489,1067,1068],{},"string",[951,1070,1071],{},[489,1072,966],{},[951,1074,1075],{},"Preset environment map.",[929,1077,1078,1083,1088,1093],{},[951,1079,1080],{"align":934},[954,1081,1082],{},"quality",[951,1084,1085],{},[489,1086,1087],{},"'1k' | '2k' | '4k'",[951,1089,1090],{},[489,1091,1092],{},"'1k'",[951,1094,1095,1096,1098],{},"Resolution variant of the preset HDR. Only applies when ",[489,1097,1063],{}," is set. 4K ≈ 30–60MB.",[929,1100,1101,1106,1110,1115],{},[951,1102,1103],{"align":934},[954,1104,1105],{},"backgroundIntensity",[951,1107,1108],{},[489,1109,1048],{},[951,1111,1112],{},[489,1113,1114],{},"1",[951,1116,1117],{},"Intensity of the background.",[929,1119,1120,1125,1129,1133],{},[951,1121,1122],{"align":934},[954,1123,1124],{},"environmentIntensity",[951,1126,1127],{},[489,1128,1048],{},[951,1130,1131],{},[489,1132,1114],{},[951,1134,1135],{},"Intensity of the environment.",[929,1137,1138,1143,1148,1153],{},[951,1139,1140],{"align":934},[954,1141,1142],{},"backgroundRotation",[951,1144,1145],{},[489,1146,1147],{},"VectorFlexibleParams",[951,1149,1150],{},[489,1151,1152],{},"[0, 0, 0]",[951,1154,1155],{},"Rotation of the background.",[929,1157,1158,1163,1167,1171],{},[951,1159,1160],{"align":934},[954,1161,1162],{},"environmentRotation",[951,1164,1165],{},[489,1166,1147],{},[951,1168,1169],{},[489,1170,1152],{},[951,1172,1173],{},"Rotation of the environment.",[1175,1176,1177],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":527,"searchDepth":534,"depth":567,"links":1179},[1180,1181],{"id":514,"depth":567,"text":15},{"id":920,"depth":567,"text":921},"Composable that sets up a global cubemap for scene environment and background.","md",null,{},{"title":355,"description":1182},"WFsmQOwv-yc23voKTzWwYBxnk1QVtMW5VaFbmbCf-8c",[1189,1191],{"title":351,"path":352,"stem":353,"description":1190,"children":-1},"Automatically sets up a global cubemap for scene environment and background.",{"title":359,"path":360,"stem":361,"description":1192,"children":-1},"Addon for environment component that provided you custom lights.",1781273439671]