[{"data":1,"prerenderedAt":1359},["ShallowReactive",2],{"navigation":3,"/api/materials/mesh-reflection-material":498,"/api/materials/mesh-reflection-material-surround":1354},[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":195,"body":500,"description":1348,"extension":1349,"links":1350,"meta":1351,"navigation":664,"path":196,"seo":1352,"stem":197,"__hash__":1353},"docs/2.api/4.materials/mesh-reflection-material.md",{"type":501,"value":502,"toc":1344},"minimark",[503,509,526,537,544,548,1023,1027,1311,1340],[504,505,506],"scene-controls-wrapper",{},[507,508],"materials-mesh-reflection-material",{},[510,511,512,513,517,518,521,522,525],"p",{},"The ",[514,515,516],"code",{},"cientos"," package provides a ",[514,519,520],{},"\u003CMeshReflectionMaterial />"," component for making floors or walls that reflect the objects in your ",[514,523,524],{},"Scene",".",[510,527,528,529,536],{},"The component is based on the excellent ",[530,531,535],"a",{"href":532,"rel":533},"https://github.com/pmndrs/drei",[534],"nofollow","Drei"," component of the same name.",[510,538,539,540,543],{},"It extends ",[514,541,542],{},"THREE.MeshStandardMaterial"," and accepts all the same props.",[545,546,15],"h2",{"id":547},"usage",[549,550,561],"pre",{"className":551,"code":552,"highlights":553,"language":559,"meta":560,"style":560},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nimport { TresCanvas } from '@tresjs/core'\nimport { MeshReflectionMaterial } from '@tresjs/cientos'\n\u003C/script>\n\n\u003Ctemplate>\n  \u003CTresCanvas>\n    \u003CTresPerspectiveCamera :position=\"[3, 3, 3]\" :look-at=\"[0, 0, 0]\" />\n    \u003CTresMesh :rotation=\"[-Math.PI / 2, 0, 0]\">\n      \u003CTresPlaneGeometry :args=\"[10, 10]\" />\n      \u003CMeshReflectionMaterial\n        :blur=\"[300, 100]\"\n        :mixBlur=\"30\"\n        :mixStrength=\"80\"\n        :mixContrast=\"1\"\n        color=\"#a0a0a0\"\n        metalness=\"0.5\"\n        roughness=\"1\"\n        mirror=\"0\"\n      />\n    \u003C/TresMesh>\n    \u003CTresMesh :position=\"[0, 1, 0]\">\n      \u003CTresBoxGeometry />\n      \u003CTresMeshStandardMaterial color=\"orange\" />\n    \u003C/TresMesh>\n    \u003CTresAmbientLight />\n    \u003CTresDirectionalLight :position=\"[0, 2, 4]\" />\n  \u003C/TresCanvas>\n\u003C/template>\n",[554,555,556,557,558],3,16,17,18,19,"vue","",[514,562,563,598,627,649,659,666,676,687,723,745,768,776,792,807,822,837,852,867,881,896,902,912,932,942,964,973,983,1004,1014],{"__ignoreMap":560},[564,565,568,572,576,580,583,586,589,593,595],"span",{"class":566,"line":567},"line",1,[564,569,571],{"class":570},"sMK4o","\u003C",[564,573,575],{"class":574},"swJcz","script",[564,577,579],{"class":578},"spNyl"," setup",[564,581,582],{"class":578}," lang",[564,584,585],{"class":570},"=",[564,587,588],{"class":570},"\"",[564,590,592],{"class":591},"sfazB","ts",[564,594,588],{"class":570},[564,596,597],{"class":570},">\n",[564,599,601,605,608,612,615,618,621,624],{"class":566,"line":600},2,[564,602,604],{"class":603},"s7zQu","import",[564,606,607],{"class":570}," {",[564,609,611],{"class":610},"sTEyZ"," TresCanvas",[564,613,614],{"class":570}," }",[564,616,617],{"class":603}," from",[564,619,620],{"class":570}," '",[564,622,623],{"class":591},"@tresjs/core",[564,625,626],{"class":570},"'\n",[564,628,631,633,635,638,640,642,644,647],{"class":629,"line":554},[566,630],"highlight",[564,632,604],{"class":603},[564,634,607],{"class":570},[564,636,637],{"class":610}," MeshReflectionMaterial",[564,639,614],{"class":570},[564,641,617],{"class":603},[564,643,620],{"class":570},[564,645,646],{"class":591},"@tresjs/cientos",[564,648,626],{"class":570},[564,650,652,655,657],{"class":566,"line":651},4,[564,653,654],{"class":570},"\u003C/",[564,656,575],{"class":574},[564,658,597],{"class":570},[564,660,662],{"class":566,"line":661},5,[564,663,665],{"emptyLinePlaceholder":664},true,"\n",[564,667,669,671,674],{"class":566,"line":668},6,[564,670,571],{"class":570},[564,672,673],{"class":574},"template",[564,675,597],{"class":570},[564,677,679,682,685],{"class":566,"line":678},7,[564,680,681],{"class":570},"  \u003C",[564,683,684],{"class":574},"TresCanvas",[564,686,597],{"class":570},[564,688,690,693,696,699,701,703,706,708,711,713,715,718,720],{"class":566,"line":689},8,[564,691,692],{"class":570},"    \u003C",[564,694,695],{"class":574},"TresPerspectiveCamera",[564,697,698],{"class":578}," :position",[564,700,585],{"class":570},[564,702,588],{"class":570},[564,704,705],{"class":591},"[3, 3, 3]",[564,707,588],{"class":570},[564,709,710],{"class":578}," :look-at",[564,712,585],{"class":570},[564,714,588],{"class":570},[564,716,717],{"class":591},"[0, 0, 0]",[564,719,588],{"class":570},[564,721,722],{"class":570}," />\n",[564,724,726,728,731,734,736,738,741,743],{"class":566,"line":725},9,[564,727,692],{"class":570},[564,729,730],{"class":574},"TresMesh",[564,732,733],{"class":578}," :rotation",[564,735,585],{"class":570},[564,737,588],{"class":570},[564,739,740],{"class":591},"[-Math.PI / 2, 0, 0]",[564,742,588],{"class":570},[564,744,597],{"class":570},[564,746,748,751,754,757,759,761,764,766],{"class":566,"line":747},10,[564,749,750],{"class":570},"      \u003C",[564,752,753],{"class":574},"TresPlaneGeometry",[564,755,756],{"class":578}," :args",[564,758,585],{"class":570},[564,760,588],{"class":570},[564,762,763],{"class":591},"[10, 10]",[564,765,588],{"class":570},[564,767,722],{"class":570},[564,769,771,773],{"class":566,"line":770},11,[564,772,750],{"class":570},[564,774,775],{"class":574},"MeshReflectionMaterial\n",[564,777,779,782,784,786,789],{"class":566,"line":778},12,[564,780,781],{"class":578},"        :blur",[564,783,585],{"class":570},[564,785,588],{"class":570},[564,787,788],{"class":591},"[300, 100]",[564,790,791],{"class":570},"\"\n",[564,793,795,798,800,802,805],{"class":566,"line":794},13,[564,796,797],{"class":578},"        :mixBlur",[564,799,585],{"class":570},[564,801,588],{"class":570},[564,803,804],{"class":591},"30",[564,806,791],{"class":570},[564,808,810,813,815,817,820],{"class":566,"line":809},14,[564,811,812],{"class":578},"        :mixStrength",[564,814,585],{"class":570},[564,816,588],{"class":570},[564,818,819],{"class":591},"80",[564,821,791],{"class":570},[564,823,825,828,830,832,835],{"class":566,"line":824},15,[564,826,827],{"class":578},"        :mixContrast",[564,829,585],{"class":570},[564,831,588],{"class":570},[564,833,834],{"class":591},"1",[564,836,791],{"class":570},[564,838,840,843,845,847,850],{"class":839,"line":555},[566,630],[564,841,842],{"class":578},"        color",[564,844,585],{"class":570},[564,846,588],{"class":570},[564,848,849],{"class":591},"#a0a0a0",[564,851,791],{"class":570},[564,853,855,858,860,862,865],{"class":854,"line":556},[566,630],[564,856,857],{"class":578},"        metalness",[564,859,585],{"class":570},[564,861,588],{"class":570},[564,863,864],{"class":591},"0.5",[564,866,791],{"class":570},[564,868,870,873,875,877,879],{"class":869,"line":557},[566,630],[564,871,872],{"class":578},"        roughness",[564,874,585],{"class":570},[564,876,588],{"class":570},[564,878,834],{"class":591},[564,880,791],{"class":570},[564,882,884,887,889,891,894],{"class":883,"line":558},[566,630],[564,885,886],{"class":578},"        mirror",[564,888,585],{"class":570},[564,890,588],{"class":570},[564,892,893],{"class":591},"0",[564,895,791],{"class":570},[564,897,899],{"class":566,"line":898},20,[564,900,901],{"class":570},"      />\n",[564,903,905,908,910],{"class":566,"line":904},21,[564,906,907],{"class":570},"    \u003C/",[564,909,730],{"class":574},[564,911,597],{"class":570},[564,913,915,917,919,921,923,925,928,930],{"class":566,"line":914},22,[564,916,692],{"class":570},[564,918,730],{"class":574},[564,920,698],{"class":578},[564,922,585],{"class":570},[564,924,588],{"class":570},[564,926,927],{"class":591},"[0, 1, 0]",[564,929,588],{"class":570},[564,931,597],{"class":570},[564,933,935,937,940],{"class":566,"line":934},23,[564,936,750],{"class":570},[564,938,939],{"class":574},"TresBoxGeometry",[564,941,722],{"class":570},[564,943,945,947,950,953,955,957,960,962],{"class":566,"line":944},24,[564,946,750],{"class":570},[564,948,949],{"class":574},"TresMeshStandardMaterial",[564,951,952],{"class":578}," color",[564,954,585],{"class":570},[564,956,588],{"class":570},[564,958,959],{"class":591},"orange",[564,961,588],{"class":570},[564,963,722],{"class":570},[564,965,967,969,971],{"class":566,"line":966},25,[564,968,907],{"class":570},[564,970,730],{"class":574},[564,972,597],{"class":570},[564,974,976,978,981],{"class":566,"line":975},26,[564,977,692],{"class":570},[564,979,980],{"class":574},"TresAmbientLight",[564,982,722],{"class":570},[564,984,986,988,991,993,995,997,1000,1002],{"class":566,"line":985},27,[564,987,692],{"class":570},[564,989,990],{"class":574},"TresDirectionalLight",[564,992,698],{"class":578},[564,994,585],{"class":570},[564,996,588],{"class":570},[564,998,999],{"class":591},"[0, 2, 4]",[564,1001,588],{"class":570},[564,1003,722],{"class":570},[564,1005,1007,1010,1012],{"class":566,"line":1006},28,[564,1008,1009],{"class":570},"  \u003C/",[564,1011,684],{"class":574},[564,1013,597],{"class":570},[564,1015,1017,1019,1021],{"class":566,"line":1016},29,[564,1018,654],{"class":570},[564,1020,673],{"class":574},[564,1022,597],{"class":570},[545,1024,1026],{"id":1025},"props","Props",[1028,1029,1030,1047],"table",{},[1031,1032,1033],"thead",{},[1034,1035,1036,1041,1044],"tr",{},[1037,1038,1040],"th",{"align":1039},"left","Name",[1037,1042,1043],{"align":1039},"Description",[1037,1045,1046],{},"Default",[1048,1049,1050,1066,1080,1094,1111,1125,1139,1154,1168,1182,1199,1213,1227,1241,1266,1281,1297],"tbody",{},[1034,1051,1052,1058,1061],{},[1053,1054,1055],"td",{"align":1039},[514,1056,1057],{},"resolution",[1053,1059,1060],{"align":1039},"Length in pixels of one side of the square reflective textures",[1053,1062,1063],{},[514,1064,1065],{},"256",[1034,1067,1068,1073,1076],{},[1053,1069,1070],{"align":1039},[514,1071,1072],{},"mix",[1053,1074,1075],{"align":1039},"Overall strength of the reflection",[1053,1077,1078],{},[514,1079,834],{},[1034,1081,1082,1087,1090],{},[1053,1083,1084],{"align":1039},[514,1085,1086],{},"sharpMix",[1053,1088,1089],{"align":1039},"Strength of the sharp reflection on smooth surfaces",[1053,1091,1092],{},[514,1093,834],{},[1034,1095,1096,1101,1107],{},[1053,1097,1098],{"align":1039},[514,1099,1100],{},"sharpDepthScale",[1053,1102,1103,1104,1106],{"align":1039},"Sharp reflection can be faded out by depth – distance from the reflective surface. Performance note: if the value is greater than ",[514,1105,893],{},", a depth texture will be created",[1053,1108,1109],{},[514,1110,834],{},[1034,1112,1113,1118,1121],{},[1053,1114,1115],{"align":1039},[514,1116,1117],{},"sharpDepthBias",[1053,1119,1120],{"align":1039},"Sharp reflection depth falloff bias",[1053,1122,1123],{},[514,1124,893],{},[1034,1126,1127,1132,1135],{},[1053,1128,1129],{"align":1039},[514,1130,1131],{},"sharpDepthEdgeMin",[1053,1133,1134],{"align":1039},"Sharp reflection depth falloff start",[1053,1136,1137],{},[514,1138,893],{},[1034,1140,1141,1146,1149],{},[1053,1142,1143],{"align":1039},[514,1144,1145],{},"sharpDepthEdgeMax",[1053,1147,1148],{"align":1039},"Sharp reflection depth falloff end",[1053,1150,1151],{},[514,1152,1153],{},"0.2",[1034,1155,1156,1161,1164],{},[1053,1157,1158],{"align":1039},[514,1159,1160],{},"blurMixSmooth",[1053,1162,1163],{"align":1039},"Strength of the blurred reflection on smooth surfaces",[1053,1165,1166],{},[514,1167,834],{},[1034,1169,1170,1175,1178],{},[1053,1171,1172],{"align":1039},[514,1173,1174],{},"blurMixRough",[1053,1176,1177],{"align":1039},"Strength of the blurred reflection on rough surfaces",[1053,1179,1180],{},[514,1181,834],{},[1034,1183,1184,1189,1195],{},[1053,1185,1186],{"align":1039},[514,1187,1188],{},"blurDepthScale",[1053,1190,1191,1192,1194],{"align":1039},"Blurred reflection can spread out by depth – distance from the reflective surface. Performance note: if the value is greater than ",[514,1193,893],{},", depth texture will be rendered",[1053,1196,1197],{},[514,1198,834],{},[1034,1200,1201,1206,1209],{},[1053,1202,1203],{"align":1039},[514,1204,1205],{},"blurDepthBias",[1053,1207,1208],{"align":1039},"Blurred reflection depth spread bias",[1053,1210,1211],{},[514,1212,893],{},[1034,1214,1215,1220,1223],{},[1053,1216,1217],{"align":1039},[514,1218,1219],{},"blurDepthEdgeMin",[1053,1221,1222],{"align":1039},"Blurred reflection depth spread start",[1053,1224,1225],{},[514,1226,893],{},[1034,1228,1229,1234,1237],{},[1053,1230,1231],{"align":1039},[514,1232,1233],{},"blurDepthEdgeMax",[1053,1235,1236],{"align":1039},"Blurred reflection depth spread end",[1053,1238,1239],{},[514,1240,1153],{},[1034,1242,1243,1248,1262],{},[1053,1244,1245],{"align":1039},[514,1246,1247],{},"blurSize",[1053,1249,1250,1251,1254,1255,1258,1259,1261],{"align":1039},"Size of the blur. If ",[514,1252,1253],{},"[number, number]",", first number is width, second is height. Performance note: if other than ",[514,1256,1257],{},"[0, 0]"," or ",[514,1260,893],{},", a blur texture will be rendered",[1053,1263,1264],{},[514,1265,1257],{},[1034,1267,1268,1273,1276],{},[1053,1269,1270],{"align":1039},[514,1271,1272],{},"distortionMap",[1053,1274,1275],{"align":1039},"Texture for offsetting the reflection",[1053,1277,1278],{},[514,1279,1280],{},"undefined",[1034,1282,1283,1288,1293],{},[1053,1284,1285],{"align":1039},[514,1286,1287],{},"distortion",[1053,1289,1290,1291],{"align":1039},"Influence of ",[514,1292,1272],{},[1053,1294,1295],{},[514,1296,893],{},[1034,1298,1299,1304,1307],{},[1053,1300,1301],{"align":1039},[514,1302,1303],{},"reflectorOffset",[1053,1305,1306],{"align":1039},"Offsets the reflection",[1053,1308,1309],{},[514,1310,893],{},[510,1312,1313,1314,1316,1317,1320,1321,1320,1324,1320,1327,1320,1330,1320,1333,1320,1336,1339],{},"Additionally, the component extends ",[514,1315,542],{}," and accepts all the same props including ",[514,1318,1319],{},"color",", ",[514,1322,1323],{},"roughness",[514,1325,1326],{},"metalness",[514,1328,1329],{},"map",[514,1331,1332],{},"normalMap",[514,1334,1335],{},"roughnessMap",[514,1337,1338],{},"metalnessMap",", and more.",[1341,1342,1343],"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":560,"searchDepth":567,"depth":600,"links":1345},[1346,1347],{"id":547,"depth":600,"text":15},{"id":1025,"depth":600,"text":1026},"Makes floors or walls that reflect the objects in your Scene.","md",null,{},{"title":195,"description":1348},"-dhKiUbKV5dPMARGNmTRwR-6x_sfsh0AlnXCQ6x3KUM",[1355,1357],{"title":191,"path":192,"stem":193,"description":1356,"children":-1},"Render a separate child scene into a portal surface, perspective-correct and masked by the mesh. Ported from drei.",{"title":199,"path":200,"stem":201,"description":1358,"children":-1},"A glass-like transmission material with chromatic aberration, distortion, and backside support. Ported from drei.",1789116509767]