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