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