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