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