[{"data":1,"prerenderedAt":1166},["ShallowReactive",2],{"navigation":3,"/api/staging/use-environment":470,"/api/staging/use-environment-surround":1161},[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,114,156,190,284,310,344,394,436],{"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,110],{"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},"Drag Controls","/api/controls/drag-controls","2.api/2.controls/drag-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],{"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},"Text3D","/api/objects/text-3d","2.api/9.objects/text-3d",{"title":437,"path":438,"stem":439,"children":440},"Miscellaneous","/api/miscellaneous","2.api/miscellaneous/index",[441,442,446,450,454,458,462,466],{"title":437,"path":438,"stem":439},{"title":443,"path":444,"stem":445},"Bounds","/api/miscellaneous/bounds","2.api/miscellaneous/bounds",{"title":447,"path":448,"stem":449},"GlobalAudio","/api/miscellaneous/global-audio","2.api/miscellaneous/global-audio",{"title":451,"path":452,"stem":453},"MouseParallax","/api/miscellaneous/mouse-parallax","2.api/miscellaneous/mouse-parallax",{"title":455,"path":456,"stem":457},"PositionalAudio","/api/miscellaneous/positional-audio","2.api/miscellaneous/positional-audio",{"title":459,"path":460,"stem":461},"useAnimations","/api/miscellaneous/use-animations","2.api/miscellaneous/use-animations",{"title":463,"path":464,"stem":465},"useGLTFExporter","/api/miscellaneous/use-gltf-exporter","2.api/miscellaneous/use-gltf-exporter",{"title":467,"path":468,"stem":469},"useIntersect","/api/miscellaneous/use-intersect","2.api/miscellaneous/use-intersect",{"id":471,"title":355,"body":472,"description":1155,"extension":1156,"links":1157,"meta":1158,"navigation":616,"path":356,"seo":1159,"stem":357,"__hash__":1160},"docs/2.api/8.staging/2.use-environment.md",{"type":473,"value":474,"toc":1151},"minimark",[475,481,496,507,511,517,780,787,822,829,914,918,1147],[476,477,478],"scene-wrapper",{},[479,480],"staging-environment",{},[482,483,484,487,488,491,492,495],"p",{},[485,486,355],"code",{}," composable that automatically sets up a global cubemap, which affects the default ",[485,489,490],{},"scene.environment",", and optionally ",[485,493,494],{},"scene.background",".",[482,497,498,499,506],{},"It uses the ",[500,501,505],"a",{"href":502,"rel":503},"https://threejs.org/docs/#api/en/loaders/CubeTextureLoader",[504],"nofollow","CubeTextureLoader"," to load the cubemap",[508,509,15],"h2",{"id":510},"usage",[512,513,514],"prose-warning",{},[482,515,516],{},"UseEnvironment needs to be wrapped by a Suspense component",[518,519,524],"pre",{"className":520,"code":521,"language":522,"meta":523,"style":523},"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","",[485,525,526,561,590,611,618,641,653,668,680,692,704,716,728,736,749,761,770],{"__ignoreMap":523},[527,528,531,535,539,543,546,549,552,556,558],"span",{"class":529,"line":530},"line",1,[527,532,534],{"class":533},"sMK4o","\u003C",[527,536,538],{"class":537},"swJcz","script",[527,540,542],{"class":541},"spNyl"," setup",[527,544,545],{"class":541}," lang",[527,547,548],{"class":533},"=",[527,550,551],{"class":533},"\"",[527,553,555],{"class":554},"sfazB","ts",[527,557,551],{"class":533},[527,559,560],{"class":533},">\n",[527,562,564,568,571,575,578,581,584,587],{"class":529,"line":563},2,[527,565,567],{"class":566},"s7zQu","import",[527,569,570],{"class":533}," {",[527,572,574],{"class":573},"sTEyZ"," useEnvironment",[527,576,577],{"class":533}," }",[527,579,580],{"class":566}," from",[527,582,583],{"class":533}," '",[527,585,586],{"class":554},"@tresjs/cientos",[527,588,589],{"class":533},"'\n",[527,591,593,595,597,600,602,604,606,609],{"class":529,"line":592},3,[527,594,567],{"class":566},[527,596,570],{"class":533},[527,598,599],{"class":573}," SRGBColorSpace",[527,601,577],{"class":533},[527,603,580],{"class":566},[527,605,583],{"class":533},[527,607,608],{"class":554},"three",[527,610,589],{"class":533},[527,612,614],{"class":529,"line":613},4,[527,615,617],{"emptyLinePlaceholder":616},true,"\n",[527,619,621,624,627,629,632,635,638],{"class":529,"line":620},5,[527,622,623],{"class":541},"const",[527,625,626],{"class":573}," texture ",[527,628,548],{"class":533},[527,630,631],{"class":566}," await",[527,633,574],{"class":634},"s2Zo4",[527,636,637],{"class":573},"(",[527,639,640],{"class":533},"{\n",[527,642,644,647,650],{"class":529,"line":643},6,[527,645,646],{"class":537},"  files",[527,648,649],{"class":533},":",[527,651,652],{"class":573}," [\n",[527,654,656,659,662,665],{"class":529,"line":655},7,[527,657,658],{"class":533},"    '",[527,660,661],{"class":554},"/textures/environmentMaps/0/px.jpg",[527,663,664],{"class":533},"'",[527,666,667],{"class":533},",\n",[527,669,671,673,676,678],{"class":529,"line":670},8,[527,672,658],{"class":533},[527,674,675],{"class":554},"/textures/environmentMaps/0/nx.jpg",[527,677,664],{"class":533},[527,679,667],{"class":533},[527,681,683,685,688,690],{"class":529,"line":682},9,[527,684,658],{"class":533},[527,686,687],{"class":554},"/textures/environmentMaps/0/py.jpg",[527,689,664],{"class":533},[527,691,667],{"class":533},[527,693,695,697,700,702],{"class":529,"line":694},10,[527,696,658],{"class":533},[527,698,699],{"class":554},"/textures/environmentMaps/0/ny.jpg",[527,701,664],{"class":533},[527,703,667],{"class":533},[527,705,707,709,712,714],{"class":529,"line":706},11,[527,708,658],{"class":533},[527,710,711],{"class":554},"/textures/environmentMaps/0/pz.jpg",[527,713,664],{"class":533},[527,715,667],{"class":533},[527,717,719,721,724,726],{"class":529,"line":718},12,[527,720,658],{"class":533},[527,722,723],{"class":554},"/textures/environmentMaps/0/nz.jpg",[527,725,664],{"class":533},[527,727,667],{"class":533},[527,729,731,734],{"class":529,"line":730},13,[527,732,733],{"class":573},"  ]",[527,735,667],{"class":533},[527,737,739,742,744,747],{"class":529,"line":738},14,[527,740,741],{"class":537},"  path",[527,743,649],{"class":533},[527,745,746],{"class":533}," ''",[527,748,667],{"class":533},[527,750,752,755,757,759],{"class":529,"line":751},15,[527,753,754],{"class":537},"  encoding",[527,756,649],{"class":533},[527,758,599],{"class":573},[527,760,667],{"class":533},[527,762,764,767],{"class":529,"line":763},16,[527,765,766],{"class":533},"}",[527,768,769],{"class":573},")\n",[527,771,773,776,778],{"class":529,"line":772},17,[527,774,775],{"class":533},"\u003C/",[527,777,538],{"class":537},[527,779,560],{"class":533},[482,781,782,783,786],{},"Then you can use the ",[485,784,785],{},"texture"," in your scene:",[518,788,791],{"className":520,"code":789,"highlights":790,"language":522,"meta":523,"style":523},"\u003CTresMesh>\n  \u003CTresSphereGeometry />\n  \u003CTresMeshStandardMaterial :map=\"texture\" />\n\u003C/TresMesh>\n",[592],[485,792,793,802,807,814],{"__ignoreMap":523},[527,794,795,797,800],{"class":529,"line":530},[527,796,534],{"class":533},[527,798,799],{"class":537},"TresMesh",[527,801,560],{"class":533},[527,803,804],{"class":529,"line":563},[527,805,806],{"class":573},"  \u003CTresSphereGeometry />\n",[527,808,811],{"class":809,"line":592},[529,810],"highlight",[527,812,813],{"class":573},"  \u003CTresMeshStandardMaterial :map=\"texture\" />\n",[527,815,816,818,820],{"class":529,"line":613},[527,817,775],{"class":533},[527,819,799],{"class":537},[527,821,560],{"class":533},[482,823,824,825,828],{},"You can also pass the ",[485,826,827],{},".hdr"," file directly",[518,830,833],{"className":831,"code":832,"language":555,"meta":523,"style":523},"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",[485,834,835,853,857,873,888,898,908],{"__ignoreMap":523},[527,836,837,839,841,843,845,847,849,851],{"class":529,"line":530},[527,838,567],{"class":566},[527,840,570],{"class":533},[527,842,574],{"class":573},[527,844,577],{"class":533},[527,846,580],{"class":566},[527,848,583],{"class":533},[527,850,586],{"class":554},[527,852,589],{"class":533},[527,854,855],{"class":529,"line":563},[527,856,617],{"emptyLinePlaceholder":616},[527,858,859,861,863,865,867,869,871],{"class":529,"line":592},[527,860,623],{"class":541},[527,862,626],{"class":573},[527,864,548],{"class":533},[527,866,631],{"class":566},[527,868,574],{"class":634},[527,870,637],{"class":573},[527,872,640],{"class":533},[527,874,875,877,879,881,884,886],{"class":529,"line":613},[527,876,646],{"class":537},[527,878,649],{"class":533},[527,880,583],{"class":533},[527,882,883],{"class":554},"/sunset.hdr",[527,885,664],{"class":533},[527,887,667],{"class":533},[527,889,890,892,894,896],{"class":529,"line":620},[527,891,741],{"class":537},[527,893,649],{"class":533},[527,895,746],{"class":533},[527,897,667],{"class":533},[527,899,900,902,904,906],{"class":529,"line":643},[527,901,754],{"class":537},[527,903,649],{"class":533},[527,905,599],{"class":573},[527,907,667],{"class":533},[527,909,910,912],{"class":529,"line":655},[527,911,766],{"class":533},[527,913,769],{"class":573},[508,915,917],{"id":916},"options","Options",[919,920,921,941],"table",{},[922,923,924],"thead",{},[925,926,927,932,935,938],"tr",{},[928,929,931],"th",{"align":930},"left","Name",[928,933,934],{},"Type",[928,936,937],{},"Default",[928,939,940],{},"Description",[942,943,944,966,986,1011,1033,1053,1072,1091,1109,1129],"tbody",{},[925,945,946,953,958,963],{},[947,948,949],"td",{"align":930},[950,951,952],"strong",{},"files",[947,954,955],{},[485,956,957],{},"Array",[947,959,960],{},[485,961,962],{},"undefined",[947,964,965],{},"Array of 6 urls to images, one for each side of the CubeTexture. or and HDR",[925,967,968,973,978,983],{},[947,969,970],{"align":930},[950,971,972],{},"path",[947,974,975],{},[485,976,977],{},"boolean",[947,979,980],{},[485,981,982],{},"false",[947,984,985],{},"Path to the environment map files.",[925,987,988,993,998,1008],{},[947,989,990],{"align":930},[950,991,992],{},"encoding",[947,994,995],{},[485,996,997],{},"Encoding",[947,999,1000,1003,1004,1007],{},[485,1001,1002],{},"SRGBColorSpace"," for an array of files and ",[485,1005,1006],{},"LinearEncoding"," for a single texture",[947,1009,1010],{},"Encoding of the environment map.",[925,1012,1013,1018,1022,1026],{},[947,1014,1015],{"align":930},[950,1016,1017],{},"background",[947,1019,1020],{},[485,1021,977],{},[947,1023,1024],{},[485,1025,982],{},[947,1027,1028,1029,1032],{},"If ",[485,1030,1031],{},"true"," the texture will be used as the scene background.",[925,1034,1035,1040,1045,1050],{},[947,1036,1037],{"align":930},[950,1038,1039],{},"blur",[947,1041,1042],{},[485,1043,1044],{},"number",[947,1046,1047],{},[485,1048,1049],{},"0",[947,1051,1052],{},"Blur factor between 0 and 1. (only works with three 0.146 and up)",[925,1054,1055,1060,1065,1069],{},[947,1056,1057],{"align":930},[950,1058,1059],{},"preset",[947,1061,1062],{},[485,1063,1064],{},"string",[947,1066,1067],{},[485,1068,962],{},[947,1070,1071],{},"Preset environment map.",[925,1073,1074,1079,1083,1088],{},[947,1075,1076],{"align":930},[950,1077,1078],{},"backgroundIntensity",[947,1080,1081],{},[485,1082,1044],{},[947,1084,1085],{},[485,1086,1087],{},"1",[947,1089,1090],{},"Intensity of the background.",[925,1092,1093,1098,1102,1106],{},[947,1094,1095],{"align":930},[950,1096,1097],{},"environmentIntensity",[947,1099,1100],{},[485,1101,1044],{},[947,1103,1104],{},[485,1105,1087],{},[947,1107,1108],{},"Intensity of the environment.",[925,1110,1111,1116,1121,1126],{},[947,1112,1113],{"align":930},[950,1114,1115],{},"backgroundRotation",[947,1117,1118],{},[485,1119,1120],{},"VectorFlexibleParams",[947,1122,1123],{},[485,1124,1125],{},"[0, 0, 0]",[947,1127,1128],{},"Rotation of the background.",[925,1130,1131,1136,1140,1144],{},[947,1132,1133],{"align":930},[950,1134,1135],{},"environmentRotation",[947,1137,1138],{},[485,1139,1120],{},[947,1141,1142],{},[485,1143,1125],{},[947,1145,1146],{},"Rotation of the environment.",[1148,1149,1150],"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":523,"searchDepth":530,"depth":563,"links":1152},[1153,1154],{"id":510,"depth":563,"text":15},{"id":916,"depth":563,"text":917},"Composable that sets up a global cubemap for scene environment and background.","md",null,{},{"title":355,"description":1155},"6daKH-E6ICNjAkrFUlcQXUgujIBuYCGJ6Xewfx615-c",[1162,1164],{"title":351,"path":352,"stem":353,"description":1163,"children":-1},"Automatically sets up a global cubemap for scene environment and background.",{"title":359,"path":360,"stem":361,"description":1165,"children":-1},"Addon for environment component that provided you custom lights.",1776202094411]