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