[{"data":1,"prerenderedAt":1085},["ShallowReactive",2],{"navigation":3,"/api/materials/custom-shader-material":466,"/api/materials/custom-shader-material-surround":1080},[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,80,110,152,186,280,306,340,390,432],{"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],{"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},"Edges","/api/abstractions/edges","2.api/1.abstractions/edges",{"title":53,"path":54,"stem":55},"Fit","/api/abstractions/fit","2.api/1.abstractions/fit",{"title":57,"path":58,"stem":59},"Levioso (Float)","/api/abstractions/levioso","2.api/1.abstractions/levioso",{"title":61,"path":62,"stem":63},"Mask","/api/abstractions/mask","2.api/1.abstractions/mask",{"title":65,"path":66,"stem":67},"Outline","/api/abstractions/outline","2.api/1.abstractions/outline",{"title":69,"path":70,"stem":71},"Sampler","/api/abstractions/sampler","2.api/1.abstractions/sampler",{"title":73,"path":74,"stem":75},"ScreenSizer","/api/abstractions/screen-sizer","2.api/1.abstractions/screen-sizer",{"title":77,"path":78,"stem":79},"ScreenSpace","/api/abstractions/screen-space","2.api/1.abstractions/screen-space",{"title":81,"path":82,"stem":83,"children":84},"Controls","/api/controls","2.api/2.controls/index",[85,86,90,94,98,102,106],{"title":81,"path":82,"stem":83},{"title":87,"path":88,"stem":89},"Camera Controls","/api/controls/camera-controls","2.api/2.controls/camera-controls",{"title":91,"path":92,"stem":93},"Keyboard Controls","/api/controls/keyboard-controls","2.api/2.controls/keyboard-controls",{"title":95,"path":96,"stem":97},"Map Controls","/api/controls/map-controls","2.api/2.controls/map-controls",{"title":99,"path":100,"stem":101},"Orbit Controls","/api/controls/orbit-controls","2.api/2.controls/orbit-controls",{"title":103,"path":104,"stem":105},"PointerLock Controls","/api/controls/pointer-lock-controls","2.api/2.controls/pointer-lock-controls",{"title":107,"path":108,"stem":109},"Transform Controls","/api/controls/transform-controls","2.api/2.controls/transform-controls",{"title":111,"path":112,"stem":113,"children":114},"Loaders","/api/loaders","2.api/3.loaders/index",[115,116,120,124,128,132,136,140,144,148],{"title":111,"path":112,"stem":113},{"title":117,"path":118,"stem":119},"useGLTF","/api/loaders/use-gltf","2.api/3.loaders/1.use-gltf",{"title":121,"path":122,"stem":123},"GLTFModel","/api/loaders/gltf-model","2.api/3.loaders/2.gltf-model",{"title":125,"path":126,"stem":127},"useFBX","/api/loaders/use-fbx","2.api/3.loaders/3.use-fbx",{"title":129,"path":130,"stem":131},"FBXModel","/api/loaders/fbx-model","2.api/3.loaders/4.fbx-model",{"title":133,"path":134,"stem":135},"useTexture","/api/loaders/use-texture","2.api/3.loaders/5.use-texture",{"title":137,"path":138,"stem":139},"useTextures","/api/loaders/use-textures","2.api/3.loaders/6.use-textures",{"title":141,"path":142,"stem":143},"useSVG","/api/loaders/use-svg","2.api/3.loaders/7.use-svg",{"title":145,"path":146,"stem":147},"useProgress","/api/loaders/use-progress","2.api/3.loaders/use-progress",{"title":149,"path":150,"stem":151},"useVideoTexture","/api/loaders/use-video-texture","2.api/3.loaders/use-video-texture",{"title":153,"path":154,"stem":155,"children":156},"Materials","/api/materials","2.api/4.materials/index",[157,158,162,166,170,174,178,182],{"title":153,"path":154,"stem":155},{"title":159,"path":160,"stem":161},"Custom Shader Material","/api/materials/custom-shader-material","2.api/4.materials/custom-shader-material",{"title":163,"path":164,"stem":165},"Mesh Glass Material","/api/materials/glass-material","2.api/4.materials/glass-material",{"title":167,"path":168,"stem":169},"Holographic Material","/api/materials/holographic-material","2.api/4.materials/holographic-material",{"title":171,"path":172,"stem":173},"Mesh Discard Material","/api/materials/mesh-discard-material","2.api/4.materials/mesh-discard-material",{"title":175,"path":176,"stem":177},"Mesh Reflection Material","/api/materials/mesh-reflection-material","2.api/4.materials/mesh-reflection-material",{"title":179,"path":180,"stem":181},"Point Material","/api/materials/point-material","2.api/4.materials/point-material",{"title":183,"path":184,"stem":185},"Wobble Material","/api/materials/wobble-material","2.api/4.materials/wobble-material",{"title":187,"path":188,"stem":189,"children":190},"Shapes","/api/shapes","2.api/5.shapes/index",[191,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":187,"path":188,"stem":189},{"title":193,"path":194,"stem":195},"Box","/api/shapes/box","2.api/5.shapes/box",{"title":197,"path":198,"stem":199},"CatmullRomCurve3","/api/shapes/catmullromcurve3","2.api/5.shapes/catmullromcurve3",{"title":201,"path":202,"stem":203},"Circle","/api/shapes/circle","2.api/5.shapes/circle",{"title":205,"path":206,"stem":207},"Cone","/api/shapes/cone","2.api/5.shapes/cone",{"title":209,"path":210,"stem":211},"Cubic Bezier Line","/api/shapes/cubic-bezier-line","2.api/5.shapes/cubic-bezier-line",{"title":213,"path":214,"stem":215},"Cylinder","/api/shapes/cylinder","2.api/5.shapes/cylinder",{"title":217,"path":218,"stem":219},"Dodecahedron","/api/shapes/dodecahedron","2.api/5.shapes/dodecahedron",{"title":221,"path":222,"stem":223},"Grid","/api/shapes/grid","2.api/5.shapes/grid",{"title":225,"path":226,"stem":227},"Icosahedron","/api/shapes/icosahedron","2.api/5.shapes/icosahedron",{"title":229,"path":230,"stem":231},"Line2","/api/shapes/line2","2.api/5.shapes/line2",{"title":233,"path":234,"stem":235},"Octahedron","/api/shapes/octahedron","2.api/5.shapes/octahedron",{"title":237,"path":238,"stem":239},"Plane","/api/shapes/plane","2.api/5.shapes/plane",{"title":241,"path":242,"stem":243},"Quadratic Bezier Line","/api/shapes/quadratic-bezier-line","2.api/5.shapes/quadratic-bezier-line",{"title":245,"path":246,"stem":247},"Ring","/api/shapes/ring","2.api/5.shapes/ring",{"title":249,"path":250,"stem":251},"Rounded Box","/api/shapes/rounded-box","2.api/5.shapes/rounded-box",{"title":253,"path":254,"stem":255},"Screen Quad","/api/shapes/screen-quad","2.api/5.shapes/screen-quad",{"title":257,"path":258,"stem":259},"Sphere","/api/shapes/sphere","2.api/5.shapes/sphere",{"title":261,"path":262,"stem":263},"Superformula","/api/shapes/superformula","2.api/5.shapes/superformula",{"title":265,"path":266,"stem":267},"Tetrahedron","/api/shapes/tetrahedron","2.api/5.shapes/tetrahedron",{"title":269,"path":270,"stem":271},"Torus","/api/shapes/torus","2.api/5.shapes/torus",{"title":273,"path":274,"stem":275},"Torus Knot","/api/shapes/torus-knot","2.api/5.shapes/torus-knot",{"title":277,"path":278,"stem":279},"Tube","/api/shapes/tube","2.api/5.shapes/tube",{"title":281,"path":282,"stem":283,"children":284},"Debug/Performance","/api/debug-performance","2.api/6.debug-performance/index",[285,286,290,294,298,302],{"title":281,"path":282,"stem":283},{"title":287,"path":288,"stem":289},"Helper","/api/debug-performance/helper","2.api/6.debug-performance/helper",{"title":291,"path":292,"stem":293},"LOD","/api/debug-performance/lod","2.api/6.debug-performance/lod",{"title":295,"path":296,"stem":297},"Stats","/api/debug-performance/stats","2.api/6.debug-performance/stats",{"title":299,"path":300,"stem":301},"StatsGl","/api/debug-performance/stats-gl","2.api/6.debug-performance/stats-gl",{"title":303,"path":304,"stem":305},"useBVH","/api/debug-performance/use-bvh","2.api/6.debug-performance/use-bvh",{"title":307,"path":308,"stem":309,"children":310},"Light/Shadow","/api/light-shadow","2.api/7.light-shadow/index",[311,312,316,320,324,328,332,336],{"title":307,"path":308,"stem":309},{"title":313,"path":314,"stem":315},"Accumulative Shadows","/api/light-shadow/accumulative-shadows","2.api/7.light-shadow/accumulative-shadows",{"title":317,"path":318,"stem":319},"Bake Shadows","/api/light-shadow/bake-shadows","2.api/7.light-shadow/bake-shadows",{"title":321,"path":322,"stem":323},"Circle Shadow","/api/light-shadow/circle-shadow","2.api/7.light-shadow/circle-shadow",{"title":325,"path":326,"stem":327},"Contact Shadows","/api/light-shadow/contact-shadows","2.api/7.light-shadow/contact-shadows",{"title":329,"path":330,"stem":331},"Lensflare","/api/light-shadow/lensflare","2.api/7.light-shadow/lensflare",{"title":333,"path":334,"stem":335},"Randomized Lights","/api/light-shadow/randomized-lights","2.api/7.light-shadow/randomized-lights",{"title":337,"path":338,"stem":339},"Soft Shadows","/api/light-shadow/soft-shadows","2.api/7.light-shadow/soft-shadows",{"title":341,"path":342,"stem":343,"children":344},"Staging","/api/staging","2.api/8.staging/index",[345,346,350,354,358,362,366,370,374,378,382,386],{"title":341,"path":342,"stem":343},{"title":347,"path":348,"stem":349},"Environment","/api/staging/environment","2.api/8.staging/1.environment",{"title":351,"path":352,"stem":353},"useEnvironment","/api/staging/use-environment","2.api/8.staging/2.use-environment",{"title":355,"path":356,"stem":357},"Lightformer","/api/staging/lightformer","2.api/8.staging/3.lightformer",{"title":359,"path":360,"stem":361},"Backdrop","/api/staging/backdrop","2.api/8.staging/backdrop",{"title":363,"path":364,"stem":365},"Ocean","/api/staging/ocean","2.api/8.staging/ocean",{"title":367,"path":368,"stem":369},"Precipitation","/api/staging/precipitation","2.api/8.staging/precipitation",{"title":371,"path":372,"stem":373},"Sky","/api/staging/sky","2.api/8.staging/sky",{"title":375,"path":376,"stem":377},"Smoke","/api/staging/smoke","2.api/8.staging/smoke",{"title":379,"path":380,"stem":381},"Sparkles","/api/staging/sparkles","2.api/8.staging/sparkles",{"title":383,"path":384,"stem":385},"Stage","/api/staging/stage","2.api/8.staging/stage",{"title":387,"path":388,"stem":389},"Stars","/api/staging/stars","2.api/8.staging/stars",{"title":391,"path":392,"stem":393,"children":394},"Objects","/api/objects","2.api/9.objects/index",[395,396,400,404,408,412,416,420,424,428],{"title":391,"path":392,"stem":393},{"title":397,"path":398,"stem":399},"AnimatedSprite","/api/objects/animated-sprite","2.api/9.objects/animated-sprite",{"title":401,"path":402,"stem":403},"CubeCamera","/api/objects/cube-camera","2.api/9.objects/cube-camera",{"title":405,"path":406,"stem":407},"Fbo","/api/objects/fbo","2.api/9.objects/fbo",{"title":409,"path":410,"stem":411},"GradientTexture","/api/objects/gradient-texture","2.api/9.objects/gradient-texture",{"title":413,"path":414,"stem":415},"HTML","/api/objects/html","2.api/9.objects/html",{"title":417,"path":418,"stem":419},"Image","/api/objects/image","2.api/9.objects/image",{"title":421,"path":422,"stem":423},"MarchingCubes","/api/objects/marching-cubes","2.api/9.objects/marching-cubes",{"title":425,"path":426,"stem":427},"Reflector","/api/objects/reflector","2.api/9.objects/reflector",{"title":429,"path":430,"stem":431},"Text3D","/api/objects/text-3d","2.api/9.objects/text-3d",{"title":433,"path":434,"stem":435,"children":436},"Miscellaneous","/api/miscellaneous","2.api/miscellaneous/index",[437,438,442,446,450,454,458,462],{"title":433,"path":434,"stem":435},{"title":439,"path":440,"stem":441},"Bounds","/api/miscellaneous/bounds","2.api/miscellaneous/bounds",{"title":443,"path":444,"stem":445},"GlobalAudio","/api/miscellaneous/global-audio","2.api/miscellaneous/global-audio",{"title":447,"path":448,"stem":449},"MouseParallax","/api/miscellaneous/mouse-parallax","2.api/miscellaneous/mouse-parallax",{"title":451,"path":452,"stem":453},"PositionalAudio","/api/miscellaneous/positional-audio","2.api/miscellaneous/positional-audio",{"title":455,"path":456,"stem":457},"useAnimations","/api/miscellaneous/use-animations","2.api/miscellaneous/use-animations",{"title":459,"path":460,"stem":461},"useGLTFExporter","/api/miscellaneous/use-gltf-exporter","2.api/miscellaneous/use-gltf-exporter",{"title":463,"path":464,"stem":465},"useIntersect","/api/miscellaneous/use-intersect","2.api/miscellaneous/use-intersect",{"id":467,"title":159,"body":468,"description":1074,"extension":1075,"links":1076,"meta":1077,"navigation":625,"path":160,"seo":1078,"stem":161,"__hash__":1079},"docs/2.api/4.materials/custom-shader-material.md",{"type":469,"value":470,"toc":1070},"minimark",[471,477,505,509,1048,1052,1066],[472,473,474],"scene-wrapper",{},[475,476],"materials-custom-shader-material",{},[478,479,480,481,485,486,489,490,499,500,504],"p",{},"The ",[482,483,484],"code",{},"cientos"," package provides ",[482,487,488],{},"\u003CTresCustomShaderMaterial />"," component which is a wrapper around the ",[491,492,496],"a",{"href":493,"rel":494},"https://github.com/FarazzShaikh/THREE-CustomShaderMaterial",[495],"nofollow",[482,497,498],{},"three-custom-shader-material"," class. As states in the repo, it ",[501,502,503],"em",{},"\"lets you extend Three.js' material library with your own Vertex and Fragment shaders\"",".",[506,507,15],"h2",{"id":508},"usage",[510,511,533],"pre",{"className":512,"code":513,"highlights":514,"language":531,"meta":532,"style":532},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nimport { TresCustomShaderMaterial } from '@tresjs/cientos'\nimport { shallowRef } from 'vue'\n\nconst customShaderMaterialRef = shallowRef()\n\u003C/script>\n\n\u003Ctemplate>\n  \u003CTresCanvas>\n    \u003CTresPerspectiveCamera :position=\"[3, 3, 3]\" />\n    \u003CTresMesh>\n      \u003CTresBoxGeometry />\n      \u003CTresCustomShaderMaterial\n        ref=\"customShaderMaterialRef\"\n        :vertex-shader=\"vertexShader\"\n        :fragment-shader=\"fragmentShader\"\n        :uniforms=\"{\n          u_time: { value: 0 },\n          u_color: { value: new THREE.Color(0.2, 0.0, 0.1) },\n          u_resolution: { value: new THREE.Vector2() }\n        }\"\n        :transparent=\"true\"\n        :side=\"THREE.DoubleSide\"\n        base-material=\"MeshLambertMaterial\"\n        silent\n        :map=\"texture\"\n        :color=\"0xff0000\"\n      />\n    \u003C/TresMesh>\n    \u003CTresAmbientLight />\n  \u003C/TresCanvas>\n\u003C/template>\n",[515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530],2,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,"vue","",[482,534,535,570,600,620,627,644,654,659,669,680,723,733,744,752,768,786,803,818,839,879,901,909,927,948,963,969,986,1003,1009,1019,1029,1039],{"__ignoreMap":532},[536,537,540,544,548,552,555,558,561,565,567],"span",{"class":538,"line":539},"line",1,[536,541,543],{"class":542},"sMK4o","\u003C",[536,545,547],{"class":546},"swJcz","script",[536,549,551],{"class":550},"spNyl"," setup",[536,553,554],{"class":550}," lang",[536,556,557],{"class":542},"=",[536,559,560],{"class":542},"\"",[536,562,564],{"class":563},"sfazB","ts",[536,566,560],{"class":542},[536,568,569],{"class":542},">\n",[536,571,574,578,581,585,588,591,594,597],{"class":572,"line":515},[538,573],"highlight",[536,575,577],{"class":576},"s7zQu","import",[536,579,580],{"class":542}," {",[536,582,584],{"class":583},"sTEyZ"," TresCustomShaderMaterial",[536,586,587],{"class":542}," }",[536,589,590],{"class":576}," from",[536,592,593],{"class":542}," '",[536,595,596],{"class":563},"@tresjs/cientos",[536,598,599],{"class":542},"'\n",[536,601,603,605,607,610,612,614,616,618],{"class":538,"line":602},3,[536,604,577],{"class":576},[536,606,580],{"class":542},[536,608,609],{"class":583}," shallowRef",[536,611,587],{"class":542},[536,613,590],{"class":576},[536,615,593],{"class":542},[536,617,531],{"class":563},[536,619,599],{"class":542},[536,621,623],{"class":538,"line":622},4,[536,624,626],{"emptyLinePlaceholder":625},true,"\n",[536,628,630,633,636,638,641],{"class":538,"line":629},5,[536,631,632],{"class":550},"const",[536,634,635],{"class":583}," customShaderMaterialRef ",[536,637,557],{"class":542},[536,639,609],{"class":640},"s2Zo4",[536,642,643],{"class":583},"()\n",[536,645,647,650,652],{"class":538,"line":646},6,[536,648,649],{"class":542},"\u003C/",[536,651,547],{"class":546},[536,653,569],{"class":542},[536,655,657],{"class":538,"line":656},7,[536,658,626],{"emptyLinePlaceholder":625},[536,660,662,664,667],{"class":538,"line":661},8,[536,663,543],{"class":542},[536,665,666],{"class":546},"template",[536,668,569],{"class":542},[536,670,672,675,678],{"class":538,"line":671},9,[536,673,674],{"class":542},"  \u003C",[536,676,677],{"class":546},"TresCanvas",[536,679,569],{"class":542},[536,681,683,686,689,692,695,697,699,702,706,709,711,713,715,718,720],{"class":538,"line":682},10,[536,684,685],{"class":542},"    \u003C",[536,687,688],{"class":546},"TresPerspectiveCamera",[536,690,691],{"class":542}," :",[536,693,694],{"class":550},"position",[536,696,557],{"class":542},[536,698,560],{"class":542},[536,700,701],{"class":542},"[",[536,703,705],{"class":704},"sbssI","3",[536,707,708],{"class":542},", ",[536,710,705],{"class":704},[536,712,708],{"class":542},[536,714,705],{"class":704},[536,716,717],{"class":542},"]",[536,719,560],{"class":542},[536,721,722],{"class":542}," />\n",[536,724,726,728,731],{"class":538,"line":725},11,[536,727,685],{"class":542},[536,729,730],{"class":546},"TresMesh",[536,732,569],{"class":542},[536,734,736,739,742],{"class":538,"line":735},12,[536,737,738],{"class":542},"      \u003C",[536,740,741],{"class":546},"TresBoxGeometry",[536,743,722],{"class":542},[536,745,747,749],{"class":746,"line":516},[538,573],[536,748,738],{"class":542},[536,750,751],{"class":546},"TresCustomShaderMaterial\n",[536,753,755,758,760,762,765],{"class":754,"line":517},[538,573],[536,756,757],{"class":550},"        ref",[536,759,557],{"class":542},[536,761,560],{"class":542},[536,763,764],{"class":563},"customShaderMaterialRef",[536,766,767],{"class":542},"\"\n",[536,769,771,774,777,779,781,784],{"class":770,"line":518},[538,573],[536,772,773],{"class":542},"        :",[536,775,776],{"class":550},"vertex-shader",[536,778,557],{"class":542},[536,780,560],{"class":542},[536,782,783],{"class":583},"vertexShader",[536,785,767],{"class":542},[536,787,789,791,794,796,798,801],{"class":788,"line":519},[538,573],[536,790,773],{"class":542},[536,792,793],{"class":550},"fragment-shader",[536,795,557],{"class":542},[536,797,560],{"class":542},[536,799,800],{"class":583},"fragmentShader",[536,802,767],{"class":542},[536,804,806,808,811,813,815],{"class":805,"line":520},[538,573],[536,807,773],{"class":542},[536,809,810],{"class":550},"uniforms",[536,812,557],{"class":542},[536,814,560],{"class":542},[536,816,817],{"class":542},"{\n",[536,819,821,824,827,830,833,836],{"class":820,"line":521},[538,573],[536,822,823],{"class":546},"          u_time",[536,825,826],{"class":542},": { ",[536,828,829],{"class":546},"value",[536,831,832],{"class":542},": ",[536,834,835],{"class":704},"0",[536,837,838],{"class":542}," },\n",[536,840,842,845,847,849,852,855,857,860,863,866,868,871,873,876],{"class":841,"line":522},[538,573],[536,843,844],{"class":546},"          u_color",[536,846,826],{"class":542},[536,848,829],{"class":546},[536,850,851],{"class":542},": new ",[536,853,854],{"class":583},"THREE",[536,856,504],{"class":542},[536,858,859],{"class":640},"Color",[536,861,862],{"class":542},"(",[536,864,865],{"class":704},"0.2",[536,867,708],{"class":542},[536,869,870],{"class":704},"0.0",[536,872,708],{"class":542},[536,874,875],{"class":704},"0.1",[536,877,878],{"class":542},") },\n",[536,880,882,885,887,889,891,893,895,898],{"class":881,"line":523},[538,573],[536,883,884],{"class":546},"          u_resolution",[536,886,826],{"class":542},[536,888,829],{"class":546},[536,890,851],{"class":542},[536,892,854],{"class":583},[536,894,504],{"class":542},[536,896,897],{"class":640},"Vector2",[536,899,900],{"class":542},"() }\n",[536,902,904,907],{"class":903,"line":524},[538,573],[536,905,906],{"class":542},"        }",[536,908,767],{"class":542},[536,910,912,914,917,919,921,925],{"class":911,"line":525},[538,573],[536,913,773],{"class":542},[536,915,916],{"class":550},"transparent",[536,918,557],{"class":542},[536,920,560],{"class":542},[536,922,924],{"class":923},"sfNiH","true",[536,926,767],{"class":542},[536,928,930,932,935,937,939,941,943,946],{"class":929,"line":526},[538,573],[536,931,773],{"class":542},[536,933,934],{"class":550},"side",[536,936,557],{"class":542},[536,938,560],{"class":542},[536,940,854],{"class":583},[536,942,504],{"class":542},[536,944,945],{"class":583},"DoubleSide",[536,947,767],{"class":542},[536,949,951,954,956,958,961],{"class":950,"line":527},[538,573],[536,952,953],{"class":550},"        base-material",[536,955,557],{"class":542},[536,957,560],{"class":542},[536,959,960],{"class":563},"MeshLambertMaterial",[536,962,767],{"class":542},[536,964,966],{"class":965,"line":528},[538,573],[536,967,968],{"class":550},"        silent\n",[536,970,972,974,977,979,981,984],{"class":971,"line":529},[538,573],[536,973,773],{"class":542},[536,975,976],{"class":550},"map",[536,978,557],{"class":542},[536,980,560],{"class":542},[536,982,983],{"class":583},"texture",[536,985,767],{"class":542},[536,987,989,991,994,996,998,1001],{"class":988,"line":530},[538,573],[536,990,773],{"class":542},[536,992,993],{"class":550},"color",[536,995,557],{"class":542},[536,997,560],{"class":542},[536,999,1000],{"class":704},"0xff0000",[536,1002,767],{"class":542},[536,1004,1006],{"class":538,"line":1005},28,[536,1007,1008],{"class":542},"      />\n",[536,1010,1012,1015,1017],{"class":538,"line":1011},29,[536,1013,1014],{"class":542},"    \u003C/",[536,1016,730],{"class":546},[536,1018,569],{"class":542},[536,1020,1022,1024,1027],{"class":538,"line":1021},30,[536,1023,685],{"class":542},[536,1025,1026],{"class":546},"TresAmbientLight",[536,1028,722],{"class":542},[536,1030,1032,1035,1037],{"class":538,"line":1031},31,[536,1033,1034],{"class":542},"  \u003C/",[536,1036,677],{"class":546},[536,1038,569],{"class":542},[536,1040,1042,1044,1046],{"class":538,"line":1041},32,[536,1043,649],{"class":542},[536,1045,666],{"class":546},[536,1047,569],{"class":542},[506,1049,1051],{"id":1050},"props","Props",[478,1053,1054,1055,1058,1059,1061,1062,504],{},"Being a wrapper around the ",[482,1056,1057],{},"CustomShaderMaterial"," class, the ",[482,1060,488],{}," component accepts all the props that the class does. You can find the full list of props in the ",[491,1063,1065],{"href":493,"rel":1064},[495],"official repo",[1067,1068,1069],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}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":532,"searchDepth":539,"depth":515,"links":1071},[1072,1073],{"id":508,"depth":515,"text":15},{"id":1050,"depth":515,"text":1051},"Extends Three.js' material library with your own Vertex and Fragment shaders.","md",null,{},{"title":159,"description":1074},"WirW-L7fmUIEqDL1ownbJUS8vqN1Ie6ubq6WxZ9mH-o",[1081,1083],{"title":153,"path":154,"stem":155,"description":1082,"children":-1},"All materials",{"title":163,"path":164,"stem":165,"description":1084,"children":-1},"Makes a geometry look like glass by re-defining the MeshPhysicalMaterial.",1774953655679]