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