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