[{"data":1,"prerenderedAt":1471},["ShallowReactive",2],{"navigation":3,"\u002Fapi\u002Fmaterials\u002Fmesh-reflection-material":498,"\u002Fapi\u002Fmaterials\u002Fmesh-reflection-material-surround":1466},[4,26],{"title":5,"path":6,"stem":7,"children":8},"Getting Started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,10,14,18,22],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13},"Installation Guide","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":15,"path":16,"stem":17},"Usage","\u002Fgetting-started\u002Fusage","1.getting-started\u002F3.usage",{"title":19,"path":20,"stem":21},"Loading Models","\u002Fgetting-started\u002Floading-models","1.getting-started\u002F4.loading-models",{"title":23,"path":24,"stem":25},"Upgrade Guide","\u002Fgetting-started\u002Fupgrade-guide","1.getting-started\u002F5.upgrade-guide",{"title":27,"path":28,"stem":29,"children":30},"Api","\u002Fapi","2.api",[31,34,96,126,168,210,308,334,368,418,464],{"title":32,"path":28,"stem":33},"All","2.api\u002Findex",{"title":35,"path":36,"stem":37,"children":38},"Abstractions","\u002Fapi\u002Fabstractions","2.api\u002F1.abstractions\u002Findex",[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","\u002Fapi\u002Fabstractions\u002Falign","2.api\u002F1.abstractions\u002Falign",{"title":45,"path":46,"stem":47},"Billboard","\u002Fapi\u002Fabstractions\u002Fbillboard","2.api\u002F1.abstractions\u002Fbillboard",{"title":49,"path":50,"stem":51},"Camera Shake","\u002Fapi\u002Fabstractions\u002Fcamera-shake","2.api\u002F1.abstractions\u002Fcamera-shake",{"title":53,"path":54,"stem":55},"Decal","\u002Fapi\u002Fabstractions\u002Fdecal","2.api\u002F1.abstractions\u002Fdecal",{"title":57,"path":58,"stem":59},"Edges","\u002Fapi\u002Fabstractions\u002Fedges","2.api\u002F1.abstractions\u002Fedges",{"title":61,"path":62,"stem":63},"Fit","\u002Fapi\u002Fabstractions\u002Ffit","2.api\u002F1.abstractions\u002Ffit",{"title":65,"path":66,"stem":67},"Instances","\u002Fapi\u002Fabstractions\u002Finstances","2.api\u002F1.abstractions\u002Finstances",{"title":69,"path":70,"stem":71},"Levioso (Float)","\u002Fapi\u002Fabstractions\u002Flevioso","2.api\u002F1.abstractions\u002Flevioso",{"title":73,"path":74,"stem":75},"Mask","\u002Fapi\u002Fabstractions\u002Fmask","2.api\u002F1.abstractions\u002Fmask",{"title":77,"path":78,"stem":79},"Merged","\u002Fapi\u002Fabstractions\u002Fmerged","2.api\u002F1.abstractions\u002Fmerged",{"title":81,"path":82,"stem":83},"Outline","\u002Fapi\u002Fabstractions\u002Foutline","2.api\u002F1.abstractions\u002Foutline",{"title":85,"path":86,"stem":87},"Sampler","\u002Fapi\u002Fabstractions\u002Fsampler","2.api\u002F1.abstractions\u002Fsampler",{"title":89,"path":90,"stem":91},"ScreenSizer","\u002Fapi\u002Fabstractions\u002Fscreen-sizer","2.api\u002F1.abstractions\u002Fscreen-sizer",{"title":93,"path":94,"stem":95},"ScreenSpace","\u002Fapi\u002Fabstractions\u002Fscreen-space","2.api\u002F1.abstractions\u002Fscreen-space",{"title":97,"path":98,"stem":99,"children":100},"Controls","\u002Fapi\u002Fcontrols","2.api\u002F2.controls\u002Findex",[101,102,106,110,114,118,122],{"title":97,"path":98,"stem":99},{"title":103,"path":104,"stem":105},"Camera Controls","\u002Fapi\u002Fcontrols\u002Fcamera-controls","2.api\u002F2.controls\u002Fcamera-controls",{"title":107,"path":108,"stem":109},"Keyboard Controls","\u002Fapi\u002Fcontrols\u002Fkeyboard-controls","2.api\u002F2.controls\u002Fkeyboard-controls",{"title":111,"path":112,"stem":113},"Map Controls","\u002Fapi\u002Fcontrols\u002Fmap-controls","2.api\u002F2.controls\u002Fmap-controls",{"title":115,"path":116,"stem":117},"Orbit Controls","\u002Fapi\u002Fcontrols\u002Forbit-controls","2.api\u002F2.controls\u002Forbit-controls",{"title":119,"path":120,"stem":121},"PointerLock Controls","\u002Fapi\u002Fcontrols\u002Fpointer-lock-controls","2.api\u002F2.controls\u002Fpointer-lock-controls",{"title":123,"path":124,"stem":125},"Transform Controls","\u002Fapi\u002Fcontrols\u002Ftransform-controls","2.api\u002F2.controls\u002Ftransform-controls",{"title":127,"path":128,"stem":129,"children":130},"Loaders","\u002Fapi\u002Floaders","2.api\u002F3.loaders\u002Findex",[131,132,136,140,144,148,152,156,160,164],{"title":127,"path":128,"stem":129},{"title":133,"path":134,"stem":135},"useGLTF","\u002Fapi\u002Floaders\u002Fuse-gltf","2.api\u002F3.loaders\u002F1.use-gltf",{"title":137,"path":138,"stem":139},"GLTFModel","\u002Fapi\u002Floaders\u002Fgltf-model","2.api\u002F3.loaders\u002F2.gltf-model",{"title":141,"path":142,"stem":143},"useFBX","\u002Fapi\u002Floaders\u002Fuse-fbx","2.api\u002F3.loaders\u002F3.use-fbx",{"title":145,"path":146,"stem":147},"FBXModel","\u002Fapi\u002Floaders\u002Ffbx-model","2.api\u002F3.loaders\u002F4.fbx-model",{"title":149,"path":150,"stem":151},"useTexture","\u002Fapi\u002Floaders\u002Fuse-texture","2.api\u002F3.loaders\u002F5.use-texture",{"title":153,"path":154,"stem":155},"useTextures","\u002Fapi\u002Floaders\u002Fuse-textures","2.api\u002F3.loaders\u002F6.use-textures",{"title":157,"path":158,"stem":159},"useSVG","\u002Fapi\u002Floaders\u002Fuse-svg","2.api\u002F3.loaders\u002F7.use-svg",{"title":161,"path":162,"stem":163},"useProgress","\u002Fapi\u002Floaders\u002Fuse-progress","2.api\u002F3.loaders\u002Fuse-progress",{"title":165,"path":166,"stem":167},"useVideoTexture","\u002Fapi\u002Floaders\u002Fuse-video-texture","2.api\u002F3.loaders\u002Fuse-video-texture",{"title":169,"path":170,"stem":171,"children":172},"Materials","\u002Fapi\u002Fmaterials","2.api\u002F4.materials\u002Findex",[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","\u002Fapi\u002Fmaterials\u002Fcustom-shader-material","2.api\u002F4.materials\u002Fcustom-shader-material",{"title":179,"path":180,"stem":181},"Mesh Glass Material","\u002Fapi\u002Fmaterials\u002Fglass-material","2.api\u002F4.materials\u002Fglass-material",{"title":183,"path":184,"stem":185},"Holographic Material","\u002Fapi\u002Fmaterials\u002Fholographic-material","2.api\u002F4.materials\u002Fholographic-material",{"title":187,"path":188,"stem":189},"Mesh Discard Material","\u002Fapi\u002Fmaterials\u002Fmesh-discard-material","2.api\u002F4.materials\u002Fmesh-discard-material",{"title":191,"path":192,"stem":193},"Mesh Portal Material","\u002Fapi\u002Fmaterials\u002Fmesh-portal-material","2.api\u002F4.materials\u002Fmesh-portal-material",{"title":195,"path":196,"stem":197},"Mesh Reflection Material","\u002Fapi\u002Fmaterials\u002Fmesh-reflection-material","2.api\u002F4.materials\u002Fmesh-reflection-material",{"title":199,"path":200,"stem":201},"Mesh Transmission Material","\u002Fapi\u002Fmaterials\u002Fmesh-transmission-material","2.api\u002F4.materials\u002Fmesh-transmission-material",{"title":203,"path":204,"stem":205},"Point Material","\u002Fapi\u002Fmaterials\u002Fpoint-material","2.api\u002F4.materials\u002Fpoint-material",{"title":207,"path":208,"stem":209},"Wobble Material","\u002Fapi\u002Fmaterials\u002Fwobble-material","2.api\u002F4.materials\u002Fwobble-material",{"title":211,"path":212,"stem":213,"children":214},"Shapes","\u002Fapi\u002Fshapes","2.api\u002F5.shapes\u002Findex",[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","\u002Fapi\u002Fshapes\u002Fbox","2.api\u002F5.shapes\u002Fbox",{"title":221,"path":222,"stem":223},"CatmullRomCurve3","\u002Fapi\u002Fshapes\u002Fcatmullromcurve3","2.api\u002F5.shapes\u002Fcatmullromcurve3",{"title":225,"path":226,"stem":227},"Circle","\u002Fapi\u002Fshapes\u002Fcircle","2.api\u002F5.shapes\u002Fcircle",{"title":229,"path":230,"stem":231},"Cone","\u002Fapi\u002Fshapes\u002Fcone","2.api\u002F5.shapes\u002Fcone",{"title":233,"path":234,"stem":235},"Cubic Bezier Line","\u002Fapi\u002Fshapes\u002Fcubic-bezier-line","2.api\u002F5.shapes\u002Fcubic-bezier-line",{"title":237,"path":238,"stem":239},"Cylinder","\u002Fapi\u002Fshapes\u002Fcylinder","2.api\u002F5.shapes\u002Fcylinder",{"title":241,"path":242,"stem":243},"Dodecahedron","\u002Fapi\u002Fshapes\u002Fdodecahedron","2.api\u002F5.shapes\u002Fdodecahedron",{"title":245,"path":246,"stem":247},"Grid","\u002Fapi\u002Fshapes\u002Fgrid","2.api\u002F5.shapes\u002Fgrid",{"title":249,"path":250,"stem":251},"Icosahedron","\u002Fapi\u002Fshapes\u002Ficosahedron","2.api\u002F5.shapes\u002Ficosahedron",{"title":253,"path":254,"stem":255},"Line2","\u002Fapi\u002Fshapes\u002Fline2","2.api\u002F5.shapes\u002Fline2",{"title":257,"path":258,"stem":259},"Octahedron","\u002Fapi\u002Fshapes\u002Foctahedron","2.api\u002F5.shapes\u002Foctahedron",{"title":261,"path":262,"stem":263},"Plane","\u002Fapi\u002Fshapes\u002Fplane","2.api\u002F5.shapes\u002Fplane",{"title":265,"path":266,"stem":267},"Quadratic Bezier Line","\u002Fapi\u002Fshapes\u002Fquadratic-bezier-line","2.api\u002F5.shapes\u002Fquadratic-bezier-line",{"title":269,"path":270,"stem":271},"Ring","\u002Fapi\u002Fshapes\u002Fring","2.api\u002F5.shapes\u002Fring",{"title":273,"path":274,"stem":275},"Rounded Box","\u002Fapi\u002Fshapes\u002Frounded-box","2.api\u002F5.shapes\u002Frounded-box",{"title":277,"path":278,"stem":279},"Rounded Plane","\u002Fapi\u002Fshapes\u002Frounded-plane","2.api\u002F5.shapes\u002Frounded-plane",{"title":281,"path":282,"stem":283},"Screen Quad","\u002Fapi\u002Fshapes\u002Fscreen-quad","2.api\u002F5.shapes\u002Fscreen-quad",{"title":285,"path":286,"stem":287},"Sphere","\u002Fapi\u002Fshapes\u002Fsphere","2.api\u002F5.shapes\u002Fsphere",{"title":289,"path":290,"stem":291},"Superformula","\u002Fapi\u002Fshapes\u002Fsuperformula","2.api\u002F5.shapes\u002Fsuperformula",{"title":293,"path":294,"stem":295},"Tetrahedron","\u002Fapi\u002Fshapes\u002Ftetrahedron","2.api\u002F5.shapes\u002Ftetrahedron",{"title":297,"path":298,"stem":299},"Torus","\u002Fapi\u002Fshapes\u002Ftorus","2.api\u002F5.shapes\u002Ftorus",{"title":301,"path":302,"stem":303},"Torus Knot","\u002Fapi\u002Fshapes\u002Ftorus-knot","2.api\u002F5.shapes\u002Ftorus-knot",{"title":305,"path":306,"stem":307},"Tube","\u002Fapi\u002Fshapes\u002Ftube","2.api\u002F5.shapes\u002Ftube",{"title":309,"path":310,"stem":311,"children":312},"Debug\u002FPerformance","\u002Fapi\u002Fdebug-performance","2.api\u002F6.debug-performance\u002Findex",[313,314,318,322,326,330],{"title":309,"path":310,"stem":311},{"title":315,"path":316,"stem":317},"Helper","\u002Fapi\u002Fdebug-performance\u002Fhelper","2.api\u002F6.debug-performance\u002Fhelper",{"title":319,"path":320,"stem":321},"LOD","\u002Fapi\u002Fdebug-performance\u002Flod","2.api\u002F6.debug-performance\u002Flod",{"title":323,"path":324,"stem":325},"Stats","\u002Fapi\u002Fdebug-performance\u002Fstats","2.api\u002F6.debug-performance\u002Fstats",{"title":327,"path":328,"stem":329},"StatsGl","\u002Fapi\u002Fdebug-performance\u002Fstats-gl","2.api\u002F6.debug-performance\u002Fstats-gl",{"title":331,"path":332,"stem":333},"useBVH","\u002Fapi\u002Fdebug-performance\u002Fuse-bvh","2.api\u002F6.debug-performance\u002Fuse-bvh",{"title":335,"path":336,"stem":337,"children":338},"Light\u002FShadow","\u002Fapi\u002Flight-shadow","2.api\u002F7.light-shadow\u002Findex",[339,340,344,348,352,356,360,364],{"title":335,"path":336,"stem":337},{"title":341,"path":342,"stem":343},"Accumulative Shadows","\u002Fapi\u002Flight-shadow\u002Faccumulative-shadows","2.api\u002F7.light-shadow\u002Faccumulative-shadows",{"title":345,"path":346,"stem":347},"Bake Shadows","\u002Fapi\u002Flight-shadow\u002Fbake-shadows","2.api\u002F7.light-shadow\u002Fbake-shadows",{"title":349,"path":350,"stem":351},"Circle Shadow","\u002Fapi\u002Flight-shadow\u002Fcircle-shadow","2.api\u002F7.light-shadow\u002Fcircle-shadow",{"title":353,"path":354,"stem":355},"Contact Shadows","\u002Fapi\u002Flight-shadow\u002Fcontact-shadows","2.api\u002F7.light-shadow\u002Fcontact-shadows",{"title":357,"path":358,"stem":359},"Lensflare","\u002Fapi\u002Flight-shadow\u002Flensflare","2.api\u002F7.light-shadow\u002Flensflare",{"title":361,"path":362,"stem":363},"Randomized Lights","\u002Fapi\u002Flight-shadow\u002Frandomized-lights","2.api\u002F7.light-shadow\u002Frandomized-lights",{"title":365,"path":366,"stem":367},"Soft Shadows","\u002Fapi\u002Flight-shadow\u002Fsoft-shadows","2.api\u002F7.light-shadow\u002Fsoft-shadows",{"title":369,"path":370,"stem":371,"children":372},"Staging","\u002Fapi\u002Fstaging","2.api\u002F8.staging\u002Findex",[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","\u002Fapi\u002Fstaging\u002Fenvironment","2.api\u002F8.staging\u002F1.environment",{"title":379,"path":380,"stem":381},"useEnvironment","\u002Fapi\u002Fstaging\u002Fuse-environment","2.api\u002F8.staging\u002F2.use-environment",{"title":383,"path":384,"stem":385},"Lightformer","\u002Fapi\u002Fstaging\u002Flightformer","2.api\u002F8.staging\u002F3.lightformer",{"title":387,"path":388,"stem":389},"Backdrop","\u002Fapi\u002Fstaging\u002Fbackdrop","2.api\u002F8.staging\u002Fbackdrop",{"title":391,"path":392,"stem":393},"Ocean","\u002Fapi\u002Fstaging\u002Focean","2.api\u002F8.staging\u002Focean",{"title":395,"path":396,"stem":397},"Precipitation","\u002Fapi\u002Fstaging\u002Fprecipitation","2.api\u002F8.staging\u002Fprecipitation",{"title":399,"path":400,"stem":401},"Sky","\u002Fapi\u002Fstaging\u002Fsky","2.api\u002F8.staging\u002Fsky",{"title":403,"path":404,"stem":405},"Smoke","\u002Fapi\u002Fstaging\u002Fsmoke","2.api\u002F8.staging\u002Fsmoke",{"title":407,"path":408,"stem":409},"Sparkles","\u002Fapi\u002Fstaging\u002Fsparkles","2.api\u002F8.staging\u002Fsparkles",{"title":411,"path":412,"stem":413},"Stage","\u002Fapi\u002Fstaging\u002Fstage","2.api\u002F8.staging\u002Fstage",{"title":415,"path":416,"stem":417},"Stars","\u002Fapi\u002Fstaging\u002Fstars","2.api\u002F8.staging\u002Fstars",{"title":419,"path":420,"stem":421,"children":422},"Objects","\u002Fapi\u002Fobjects","2.api\u002F9.objects\u002Findex",[423,424,428,432,436,440,444,448,452,456,460],{"title":419,"path":420,"stem":421},{"title":425,"path":426,"stem":427},"AnimatedSprite","\u002Fapi\u002Fobjects\u002Fanimated-sprite","2.api\u002F9.objects\u002Fanimated-sprite",{"title":429,"path":430,"stem":431},"CubeCamera","\u002Fapi\u002Fobjects\u002Fcube-camera","2.api\u002F9.objects\u002Fcube-camera",{"title":433,"path":434,"stem":435},"Fbo","\u002Fapi\u002Fobjects\u002Ffbo","2.api\u002F9.objects\u002Ffbo",{"title":437,"path":438,"stem":439},"GradientTexture","\u002Fapi\u002Fobjects\u002Fgradient-texture","2.api\u002F9.objects\u002Fgradient-texture",{"title":441,"path":442,"stem":443},"HTML","\u002Fapi\u002Fobjects\u002Fhtml","2.api\u002F9.objects\u002Fhtml",{"title":445,"path":446,"stem":447},"Image","\u002Fapi\u002Fobjects\u002Fimage","2.api\u002F9.objects\u002Fimage",{"title":449,"path":450,"stem":451},"MarchingCubes","\u002Fapi\u002Fobjects\u002Fmarching-cubes","2.api\u002F9.objects\u002Fmarching-cubes",{"title":453,"path":454,"stem":455},"Reflector","\u002Fapi\u002Fobjects\u002Freflector","2.api\u002F9.objects\u002Freflector",{"title":457,"path":458,"stem":459},"Refractor","\u002Fapi\u002Fobjects\u002Frefractor","2.api\u002F9.objects\u002Frefractor",{"title":461,"path":462,"stem":463},"Text3D","\u002Fapi\u002Fobjects\u002Ftext-3d","2.api\u002F9.objects\u002Ftext-3d",{"title":465,"path":466,"stem":467,"children":468},"Miscellaneous","\u002Fapi\u002Fmiscellaneous","2.api\u002Fmiscellaneous\u002Findex",[469,470,474,478,482,486,490,494],{"title":465,"path":466,"stem":467},{"title":471,"path":472,"stem":473},"Bounds","\u002Fapi\u002Fmiscellaneous\u002Fbounds","2.api\u002Fmiscellaneous\u002Fbounds",{"title":475,"path":476,"stem":477},"GlobalAudio","\u002Fapi\u002Fmiscellaneous\u002Fglobal-audio","2.api\u002Fmiscellaneous\u002Fglobal-audio",{"title":479,"path":480,"stem":481},"MouseParallax","\u002Fapi\u002Fmiscellaneous\u002Fmouse-parallax","2.api\u002Fmiscellaneous\u002Fmouse-parallax",{"title":483,"path":484,"stem":485},"PositionalAudio","\u002Fapi\u002Fmiscellaneous\u002Fpositional-audio","2.api\u002Fmiscellaneous\u002Fpositional-audio",{"title":487,"path":488,"stem":489},"useAnimations","\u002Fapi\u002Fmiscellaneous\u002Fuse-animations","2.api\u002Fmiscellaneous\u002Fuse-animations",{"title":491,"path":492,"stem":493},"useGLTFExporter","\u002Fapi\u002Fmiscellaneous\u002Fuse-gltf-exporter","2.api\u002Fmiscellaneous\u002Fuse-gltf-exporter",{"title":495,"path":496,"stem":497},"useIntersect","\u002Fapi\u002Fmiscellaneous\u002Fuse-intersect","2.api\u002Fmiscellaneous\u002Fuse-intersect",{"id":499,"title":195,"body":500,"description":1460,"extension":1461,"links":1462,"meta":1463,"navigation":664,"path":196,"seo":1464,"stem":197,"__hash__":1465},"docs\u002F2.api\u002F4.materials\u002Fmesh-reflection-material.md",{"type":501,"value":502,"toc":1456},"minimark",[503,509,526,537,544,548,1136,1140,1424,1452],[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 \u002F>"," 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:\u002F\u002Fgithub.com\u002Fpmndrs\u002Fdrei",[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\u002Fcore'\nimport { MeshReflectionMaterial } from '@tresjs\u002Fcientos'\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CTresCanvas>\n    \u003CTresPerspectiveCamera :position=\"[3, 3, 3]\" :look-at=\"[0, 0, 0]\" \u002F>\n    \u003CTresMesh :rotation=\"[-Math.PI \u002F 2, 0, 0]\">\n      \u003CTresPlaneGeometry :args=\"[10, 10]\" \u002F>\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      \u002F>\n    \u003C\u002FTresMesh>\n    \u003CTresMesh :position=\"[0, 1, 0]\">\n      \u003CTresBoxGeometry \u002F>\n      \u003CTresMeshStandardMaterial color=\"orange\" \u002F>\n    \u003C\u002FTresMesh>\n    \u003CTresAmbientLight \u002F>\n    \u003CTresDirectionalLight :position=\"[0, 2, 4]\" \u002F>\n  \u003C\u002FTresCanvas>\n\u003C\u002Ftemplate>\n",[554,555,556,557,558],3,16,17,18,19,"vue","",[514,562,563,598,627,649,659,666,676,687,756,804,837,845,873,890,907,924,939,954,968,982,988,998,1031,1041,1063,1072,1082,1117,1127],{"__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\u002Fcore",[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\u002Fcientos",[564,648,626],{"class":570},[564,650,652,655,657],{"class":566,"line":651},4,[564,653,654],{"class":570},"\u003C\u002F",[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,702,704,706,709,713,716,718,720,722,725,727,729,732,734,736,738,741,743,745,747,749,751,753],{"class":566,"line":689},8,[564,691,692],{"class":570},"    \u003C",[564,694,695],{"class":574},"TresPerspectiveCamera",[564,697,698],{"class":570}," :",[564,700,701],{"class":578},"position",[564,703,585],{"class":570},[564,705,588],{"class":570},[564,707,708],{"class":570},"[",[564,710,712],{"class":711},"sbssI","3",[564,714,715],{"class":570},", ",[564,717,712],{"class":711},[564,719,715],{"class":570},[564,721,712],{"class":711},[564,723,724],{"class":570},"]",[564,726,588],{"class":570},[564,728,698],{"class":570},[564,730,731],{"class":578},"look-at",[564,733,585],{"class":570},[564,735,588],{"class":570},[564,737,708],{"class":570},[564,739,740],{"class":711},"0",[564,742,715],{"class":570},[564,744,740],{"class":711},[564,746,715],{"class":570},[564,748,740],{"class":711},[564,750,724],{"class":570},[564,752,588],{"class":570},[564,754,755],{"class":570}," \u002F>\n",[564,757,759,761,764,766,769,771,773,776,779,781,784,787,790,792,794,796,798,800,802],{"class":566,"line":758},9,[564,760,692],{"class":570},[564,762,763],{"class":574},"TresMesh",[564,765,698],{"class":570},[564,767,768],{"class":578},"rotation",[564,770,585],{"class":570},[564,772,588],{"class":570},[564,774,775],{"class":570},"[-",[564,777,778],{"class":610},"Math",[564,780,525],{"class":570},[564,782,783],{"class":610},"PI",[564,785,786],{"class":570}," \u002F ",[564,788,789],{"class":711},"2",[564,791,715],{"class":570},[564,793,740],{"class":711},[564,795,715],{"class":570},[564,797,740],{"class":711},[564,799,724],{"class":570},[564,801,588],{"class":570},[564,803,597],{"class":570},[564,805,807,810,813,815,818,820,822,824,827,829,831,833,835],{"class":566,"line":806},10,[564,808,809],{"class":570},"      \u003C",[564,811,812],{"class":574},"TresPlaneGeometry",[564,814,698],{"class":570},[564,816,817],{"class":578},"args",[564,819,585],{"class":570},[564,821,588],{"class":570},[564,823,708],{"class":570},[564,825,826],{"class":711},"10",[564,828,715],{"class":570},[564,830,826],{"class":711},[564,832,724],{"class":570},[564,834,588],{"class":570},[564,836,755],{"class":570},[564,838,840,842],{"class":566,"line":839},11,[564,841,809],{"class":570},[564,843,844],{"class":574},"MeshReflectionMaterial\n",[564,846,848,851,854,856,858,860,863,865,868,870],{"class":566,"line":847},12,[564,849,850],{"class":570},"        :",[564,852,853],{"class":578},"blur",[564,855,585],{"class":570},[564,857,588],{"class":570},[564,859,708],{"class":570},[564,861,862],{"class":711},"300",[564,864,715],{"class":570},[564,866,867],{"class":711},"100",[564,869,724],{"class":570},[564,871,872],{"class":570},"\"\n",[564,874,876,878,881,883,885,888],{"class":566,"line":875},13,[564,877,850],{"class":570},[564,879,880],{"class":578},"mixBlur",[564,882,585],{"class":570},[564,884,588],{"class":570},[564,886,887],{"class":711},"30",[564,889,872],{"class":570},[564,891,893,895,898,900,902,905],{"class":566,"line":892},14,[564,894,850],{"class":570},[564,896,897],{"class":578},"mixStrength",[564,899,585],{"class":570},[564,901,588],{"class":570},[564,903,904],{"class":711},"80",[564,906,872],{"class":570},[564,908,910,912,915,917,919,922],{"class":566,"line":909},15,[564,911,850],{"class":570},[564,913,914],{"class":578},"mixContrast",[564,916,585],{"class":570},[564,918,588],{"class":570},[564,920,921],{"class":711},"1",[564,923,872],{"class":570},[564,925,927,930,932,934,937],{"class":926,"line":555},[566,630],[564,928,929],{"class":578},"        color",[564,931,585],{"class":570},[564,933,588],{"class":570},[564,935,936],{"class":591},"#a0a0a0",[564,938,872],{"class":570},[564,940,942,945,947,949,952],{"class":941,"line":556},[566,630],[564,943,944],{"class":578},"        metalness",[564,946,585],{"class":570},[564,948,588],{"class":570},[564,950,951],{"class":591},"0.5",[564,953,872],{"class":570},[564,955,957,960,962,964,966],{"class":956,"line":557},[566,630],[564,958,959],{"class":578},"        roughness",[564,961,585],{"class":570},[564,963,588],{"class":570},[564,965,921],{"class":591},[564,967,872],{"class":570},[564,969,971,974,976,978,980],{"class":970,"line":558},[566,630],[564,972,973],{"class":578},"        mirror",[564,975,585],{"class":570},[564,977,588],{"class":570},[564,979,740],{"class":591},[564,981,872],{"class":570},[564,983,985],{"class":566,"line":984},20,[564,986,987],{"class":570},"      \u002F>\n",[564,989,991,994,996],{"class":566,"line":990},21,[564,992,993],{"class":570},"    \u003C\u002F",[564,995,763],{"class":574},[564,997,597],{"class":570},[564,999,1001,1003,1005,1007,1009,1011,1013,1015,1017,1019,1021,1023,1025,1027,1029],{"class":566,"line":1000},22,[564,1002,692],{"class":570},[564,1004,763],{"class":574},[564,1006,698],{"class":570},[564,1008,701],{"class":578},[564,1010,585],{"class":570},[564,1012,588],{"class":570},[564,1014,708],{"class":570},[564,1016,740],{"class":711},[564,1018,715],{"class":570},[564,1020,921],{"class":711},[564,1022,715],{"class":570},[564,1024,740],{"class":711},[564,1026,724],{"class":570},[564,1028,588],{"class":570},[564,1030,597],{"class":570},[564,1032,1034,1036,1039],{"class":566,"line":1033},23,[564,1035,809],{"class":570},[564,1037,1038],{"class":574},"TresBoxGeometry",[564,1040,755],{"class":570},[564,1042,1044,1046,1049,1052,1054,1056,1059,1061],{"class":566,"line":1043},24,[564,1045,809],{"class":570},[564,1047,1048],{"class":574},"TresMeshStandardMaterial",[564,1050,1051],{"class":578}," color",[564,1053,585],{"class":570},[564,1055,588],{"class":570},[564,1057,1058],{"class":591},"orange",[564,1060,588],{"class":570},[564,1062,755],{"class":570},[564,1064,1066,1068,1070],{"class":566,"line":1065},25,[564,1067,993],{"class":570},[564,1069,763],{"class":574},[564,1071,597],{"class":570},[564,1073,1075,1077,1080],{"class":566,"line":1074},26,[564,1076,692],{"class":570},[564,1078,1079],{"class":574},"TresAmbientLight",[564,1081,755],{"class":570},[564,1083,1085,1087,1090,1092,1094,1096,1098,1100,1102,1104,1106,1108,1111,1113,1115],{"class":566,"line":1084},27,[564,1086,692],{"class":570},[564,1088,1089],{"class":574},"TresDirectionalLight",[564,1091,698],{"class":570},[564,1093,701],{"class":578},[564,1095,585],{"class":570},[564,1097,588],{"class":570},[564,1099,708],{"class":570},[564,1101,740],{"class":711},[564,1103,715],{"class":570},[564,1105,789],{"class":711},[564,1107,715],{"class":570},[564,1109,1110],{"class":711},"4",[564,1112,724],{"class":570},[564,1114,588],{"class":570},[564,1116,755],{"class":570},[564,1118,1120,1123,1125],{"class":566,"line":1119},28,[564,1121,1122],{"class":570},"  \u003C\u002F",[564,1124,684],{"class":574},[564,1126,597],{"class":570},[564,1128,1130,1132,1134],{"class":566,"line":1129},29,[564,1131,654],{"class":570},[564,1133,673],{"class":574},[564,1135,597],{"class":570},[545,1137,1139],{"id":1138},"props","Props",[1141,1142,1143,1160],"table",{},[1144,1145,1146],"thead",{},[1147,1148,1149,1154,1157],"tr",{},[1150,1151,1153],"th",{"align":1152},"left","Name",[1150,1155,1156],{"align":1152},"Description",[1150,1158,1159],{},"Default",[1161,1162,1163,1179,1193,1207,1224,1238,1252,1267,1281,1295,1312,1326,1340,1354,1379,1394,1410],"tbody",{},[1147,1164,1165,1171,1174],{},[1166,1167,1168],"td",{"align":1152},[514,1169,1170],{},"resolution",[1166,1172,1173],{"align":1152},"Length in pixels of one side of the square reflective textures",[1166,1175,1176],{},[514,1177,1178],{},"256",[1147,1180,1181,1186,1189],{},[1166,1182,1183],{"align":1152},[514,1184,1185],{},"mix",[1166,1187,1188],{"align":1152},"Overall strength of the reflection",[1166,1190,1191],{},[514,1192,921],{},[1147,1194,1195,1200,1203],{},[1166,1196,1197],{"align":1152},[514,1198,1199],{},"sharpMix",[1166,1201,1202],{"align":1152},"Strength of the sharp reflection on smooth surfaces",[1166,1204,1205],{},[514,1206,921],{},[1147,1208,1209,1214,1220],{},[1166,1210,1211],{"align":1152},[514,1212,1213],{},"sharpDepthScale",[1166,1215,1216,1217,1219],{"align":1152},"Sharp reflection can be faded out by depth – distance from the reflective surface. Performance note: if the value is greater than ",[514,1218,740],{},", a depth texture will be created",[1166,1221,1222],{},[514,1223,921],{},[1147,1225,1226,1231,1234],{},[1166,1227,1228],{"align":1152},[514,1229,1230],{},"sharpDepthBias",[1166,1232,1233],{"align":1152},"Sharp reflection depth falloff bias",[1166,1235,1236],{},[514,1237,740],{},[1147,1239,1240,1245,1248],{},[1166,1241,1242],{"align":1152},[514,1243,1244],{},"sharpDepthEdgeMin",[1166,1246,1247],{"align":1152},"Sharp reflection depth falloff start",[1166,1249,1250],{},[514,1251,740],{},[1147,1253,1254,1259,1262],{},[1166,1255,1256],{"align":1152},[514,1257,1258],{},"sharpDepthEdgeMax",[1166,1260,1261],{"align":1152},"Sharp reflection depth falloff end",[1166,1263,1264],{},[514,1265,1266],{},"0.2",[1147,1268,1269,1274,1277],{},[1166,1270,1271],{"align":1152},[514,1272,1273],{},"blurMixSmooth",[1166,1275,1276],{"align":1152},"Strength of the blurred reflection on smooth surfaces",[1166,1278,1279],{},[514,1280,921],{},[1147,1282,1283,1288,1291],{},[1166,1284,1285],{"align":1152},[514,1286,1287],{},"blurMixRough",[1166,1289,1290],{"align":1152},"Strength of the blurred reflection on rough surfaces",[1166,1292,1293],{},[514,1294,921],{},[1147,1296,1297,1302,1308],{},[1166,1298,1299],{"align":1152},[514,1300,1301],{},"blurDepthScale",[1166,1303,1304,1305,1307],{"align":1152},"Blurred reflection can spread out by depth – distance from the reflective surface. Performance note: if the value is greater than ",[514,1306,740],{},", depth texture will be rendered",[1166,1309,1310],{},[514,1311,921],{},[1147,1313,1314,1319,1322],{},[1166,1315,1316],{"align":1152},[514,1317,1318],{},"blurDepthBias",[1166,1320,1321],{"align":1152},"Blurred reflection depth spread bias",[1166,1323,1324],{},[514,1325,740],{},[1147,1327,1328,1333,1336],{},[1166,1329,1330],{"align":1152},[514,1331,1332],{},"blurDepthEdgeMin",[1166,1334,1335],{"align":1152},"Blurred reflection depth spread start",[1166,1337,1338],{},[514,1339,740],{},[1147,1341,1342,1347,1350],{},[1166,1343,1344],{"align":1152},[514,1345,1346],{},"blurDepthEdgeMax",[1166,1348,1349],{"align":1152},"Blurred reflection depth spread end",[1166,1351,1352],{},[514,1353,1266],{},[1147,1355,1356,1361,1375],{},[1166,1357,1358],{"align":1152},[514,1359,1360],{},"blurSize",[1166,1362,1363,1364,1367,1368,1371,1372,1374],{"align":1152},"Size of the blur. If ",[514,1365,1366],{},"[number, number]",", first number is width, second is height. Performance note: if other than ",[514,1369,1370],{},"[0, 0]"," or ",[514,1373,740],{},", a blur texture will be rendered",[1166,1376,1377],{},[514,1378,1370],{},[1147,1380,1381,1386,1389],{},[1166,1382,1383],{"align":1152},[514,1384,1385],{},"distortionMap",[1166,1387,1388],{"align":1152},"Texture for offsetting the reflection",[1166,1390,1391],{},[514,1392,1393],{},"undefined",[1147,1395,1396,1401,1406],{},[1166,1397,1398],{"align":1152},[514,1399,1400],{},"distortion",[1166,1402,1403,1404],{"align":1152},"Influence of ",[514,1405,1385],{},[1166,1407,1408],{},[514,1409,740],{},[1147,1411,1412,1417,1420],{},[1166,1413,1414],{"align":1152},[514,1415,1416],{},"reflectorOffset",[1166,1418,1419],{"align":1152},"Offsets the reflection",[1166,1421,1422],{},[514,1423,740],{},[510,1425,1426,1427,1429,1430,715,1433,715,1436,715,1439,715,1442,715,1445,715,1448,1451],{},"Additionally, the component extends ",[514,1428,542],{}," and accepts all the same props including ",[514,1431,1432],{},"color",[514,1434,1435],{},"roughness",[514,1437,1438],{},"metalness",[514,1440,1441],{},"map",[514,1443,1444],{},"normalMap",[514,1446,1447],{},"roughnessMap",[514,1449,1450],{},"metalnessMap",", and more.",[1453,1454,1455],"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 .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}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":1457},[1458,1459],{"id":547,"depth":600,"text":15},{"id":1138,"depth":600,"text":1139},"Makes floors or walls that reflect the objects in your Scene.","md",null,{},{"title":195,"description":1460},"SmQ10ERsYJAK7ytDjV3ZCr9APJRPR6MGXbpwBm6D2G8",[1467,1469],{"title":191,"path":192,"stem":193,"description":1468,"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":1470,"children":-1},"A glass-like transmission material with chromatic aberration, distortion, and backside support. Ported from drei.",1791549573680]