[{"data":1,"prerenderedAt":2845,"buildId":2846},["ShallowReactive",2],{"\u002Fblog\u002Fwhats-new-november-2026":3,"author-alvarosabu":2820,"formatted-blog-post-\u002Fblog\u002Fwhats-new-november-2026":2839},{"id":4,"title":5,"author":6,"body":7,"category":2802,"date":2803,"description":2804,"draft":2805,"extension":2806,"meta":2807,"navigation":246,"path":2808,"rawbody":2809,"readingTime":2810,"seo":2815,"stem":2816,"thumbnail":2817,"url":2818,"__hash__":2819},"blog\u002Fblog\u002Fwhats-new-november-2026.md","The Loop Chronicles: November 2026 Recap","alvarosabu",{"type":8,"value":9,"toc":2780},"minimark",[10,28,33,55,111,118,670,677,689,693,706,773,966,977,995,1000,1005,1214,1239,1247,1251,1272,1321,1398,1433,1448,1452,1462,1485,1600,1609,1650,1710,1718,1722,1734,1760,1769,1773,1777,1818,1822,1863,1915,1919,1922,1965,1998,2002,2008,2012,2016,2023,2042,2046,2064,2110,2709,2729,2733,2740,2744,2760,2773,2776],[11,12,13,14,18,19,23,24,27],"p",{},"Yo! Welcome back to ",[15,16,17],"strong",{},"The Loop Chronicles"," 🍂. Last month WebGPU got its own entry ",[20,21,22],"code",{},"@tresjs\u002Fcore\u002Fwebgpu",". This month it got the tools to build real scenes: TSL composables in core, a WebGPU ",[20,25,26],{},"EffectComposer"," with six effects, and the four big Cientos components that were missing on WebGPU. Let's go 🚀.",[29,30,32],"h2",{"id":31},"tsl-composables-are-here","TSL composables are here",[11,34,35,36,39,40,47,48,50,51,54],{},"In October we said they were in review. Now they ship in ",[20,37,38],{},"@tresjs\u002Fcore@5.11.0"," (",[41,42,46],"a",{"href":43,"rel":44},"https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1545",[45],"nofollow","#1545","). ",[20,49,22],{}," has a set of ",[15,52,53],{},"experimental"," composables for TSL work:",[56,57,58],"prose-list",{},[59,60,61,83,91,99],"ul",{},[62,63,64,69,70,69,73,78,79,82],"li",{},[15,65,66],{},[20,67,68],{},"useUniforms"," ",[15,71,72],{},"and",[15,74,75],{},[20,76,77],{},"useUniform"," bind plain values, refs, getters or Tres Leches controls to TSL uniforms. A change writes ",[20,80,81],{},"uniform.value",". There is no graph rebuild and no shader recompile.",[62,84,85,90],{},[15,86,87],{},[20,88,89],{},"useNodes"," shares node graphs (noise, functions, varyings) between components in the same canvas. The graph is built once.",[62,92,93,98],{},[15,94,95],{},[20,96,97],{},"useLocalNodes"," builds the graph of one component from the shared uniforms and nodes. It rebuilds only when the structure changes.",[62,100,101,106,107,110],{},[15,102,103],{},[20,104,105],{},"useRenderPipeline"," renders the canvas through three's ",[20,108,109],{},"RenderPipeline",", for post-processing on WebGPU.",[11,112,113,114,117],{},"The rule to remember: ",[15,115,116],{},"a value goes in a uniform, a structure change goes through a rebuild",". If a prop changes a color, a strength or a speed, put it in a uniform:",[119,120,125],"pre",{"className":121,"code":122,"language":123,"meta":124,"style":124},"language-vue shiki shiki-themes catppuccin-latte catppuccin-latte catppuccin-frappe","\u003Cscript setup lang=\"ts\">\nimport { useLocalNodes, useUniforms } from '@tresjs\u002Fcore\u002Fwebgpu'\nimport { useControls } from '@tresjs\u002Fleches'\nimport { color, mix, positionLocal, sin, time } from 'three\u002Ftsl'\n\nconst { tint, speed } = useControls({\n  tint: '#82dbc5',\n  speed: { value: 1, min: 0, max: 5 },\n})\nconst { uTint, uSpeed } = useUniforms({ uTint: tint, uSpeed: speed })\n\nconst { colorNode } = useLocalNodes(() => ({\n  colorNode: mix(\n    color('#fbb03b'),\n    uTint,\n    sin(time.mul(uSpeed).add(positionLocal.y.mul(4))).mul(0.5).add(0.5),\n  ),\n}))\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CTresMesh>\n    \u003CTresTorusKnotGeometry :args=\"[0.6, 0.2, 128, 32]\" \u002F>\n    \u003CTresMeshStandardNodeMaterial :color-node=\"colorNode\" \u002F>\n  \u003C\u002FTresMesh>\n\u003C\u002Ftemplate>\n","vue","",[20,126,127,157,187,204,241,248,279,294,336,344,390,395,423,436,452,460,526,534,542,552,557,567,578,627,651,661],{"__ignoreMap":124},[128,129,132,136,140,144,147,150,154],"span",{"class":130,"line":131},"line",1,[128,133,135],{"class":134},"sWdzt","\u003C",[128,137,139],{"class":138},"slJ5s","script",[128,141,143],{"class":142},"s1cdE"," setup",[128,145,146],{"class":142}," lang",[128,148,149],{"class":134},"=",[128,151,153],{"class":152},"s9Zht","\"ts\"",[128,155,156],{"class":134},">\n",[128,158,160,164,168,172,175,178,181,184],{"class":130,"line":159},2,[128,161,163],{"class":162},"sZyUJ","import",[128,165,167],{"class":166},"spKPg"," {",[128,169,171],{"class":170},"s9Av-"," useLocalNodes",[128,173,174],{"class":166},",",[128,176,177],{"class":170}," useUniforms ",[128,179,180],{"class":166},"}",[128,182,183],{"class":162}," from",[128,185,186],{"class":152}," '@tresjs\u002Fcore\u002Fwebgpu'\n",[128,188,190,192,194,197,199,201],{"class":130,"line":189},3,[128,191,163],{"class":162},[128,193,167],{"class":166},[128,195,196],{"class":170}," useControls ",[128,198,180],{"class":166},[128,200,183],{"class":162},[128,202,203],{"class":152}," '@tresjs\u002Fleches'\n",[128,205,207,209,211,214,216,219,221,224,226,229,231,234,236,238],{"class":130,"line":206},4,[128,208,163],{"class":162},[128,210,167],{"class":166},[128,212,213],{"class":170}," color",[128,215,174],{"class":166},[128,217,218],{"class":170}," mix",[128,220,174],{"class":166},[128,222,223],{"class":170}," positionLocal",[128,225,174],{"class":166},[128,227,228],{"class":170}," sin",[128,230,174],{"class":166},[128,232,233],{"class":170}," time ",[128,235,180],{"class":166},[128,237,183],{"class":162},[128,239,240],{"class":152}," 'three\u002Ftsl'\n",[128,242,244],{"class":130,"line":243},5,[128,245,247],{"emptyLinePlaceholder":246},true,"\n",[128,249,251,254,256,259,261,264,266,269,273,276],{"class":130,"line":250},6,[128,252,253],{"class":162},"const",[128,255,167],{"class":166},[128,257,258],{"class":170}," tint",[128,260,174],{"class":166},[128,262,263],{"class":170}," speed ",[128,265,180],{"class":166},[128,267,268],{"class":134}," =",[128,270,272],{"class":271},"s0faT"," useControls",[128,274,275],{"class":170},"(",[128,277,278],{"class":166},"{\n",[128,280,282,285,288,291],{"class":130,"line":281},7,[128,283,284],{"class":170},"  tint",[128,286,287],{"class":134},":",[128,289,290],{"class":152}," '#82dbc5'",[128,292,293],{"class":166},",\n",[128,295,297,300,302,304,307,309,313,315,318,320,323,325,328,330,333],{"class":130,"line":296},8,[128,298,299],{"class":170},"  speed",[128,301,287],{"class":134},[128,303,167],{"class":166},[128,305,306],{"class":170}," value",[128,308,287],{"class":134},[128,310,312],{"class":311},"sREMW"," 1",[128,314,174],{"class":166},[128,316,317],{"class":170}," min",[128,319,287],{"class":134},[128,321,322],{"class":311}," 0",[128,324,174],{"class":166},[128,326,327],{"class":170}," max",[128,329,287],{"class":134},[128,331,332],{"class":311}," 5",[128,334,335],{"class":166}," },\n",[128,337,339,341],{"class":130,"line":338},9,[128,340,180],{"class":166},[128,342,343],{"class":170},")\n",[128,345,347,349,351,354,356,359,361,363,366,368,371,373,375,377,379,382,384,386,388],{"class":130,"line":346},10,[128,348,253],{"class":162},[128,350,167],{"class":166},[128,352,353],{"class":170}," uTint",[128,355,174],{"class":166},[128,357,358],{"class":170}," uSpeed ",[128,360,180],{"class":166},[128,362,268],{"class":134},[128,364,365],{"class":271}," useUniforms",[128,367,275],{"class":170},[128,369,370],{"class":166},"{",[128,372,353],{"class":170},[128,374,287],{"class":134},[128,376,258],{"class":170},[128,378,174],{"class":166},[128,380,381],{"class":170}," uSpeed",[128,383,287],{"class":134},[128,385,263],{"class":170},[128,387,180],{"class":166},[128,389,343],{"class":170},[128,391,393],{"class":130,"line":392},11,[128,394,247],{"emptyLinePlaceholder":246},[128,396,398,400,402,405,407,409,411,413,416,419,421],{"class":130,"line":397},12,[128,399,253],{"class":162},[128,401,167],{"class":166},[128,403,404],{"class":170}," colorNode ",[128,406,180],{"class":166},[128,408,268],{"class":134},[128,410,171],{"class":271},[128,412,275],{"class":170},[128,414,415],{"class":166},"()",[128,417,418],{"class":134}," =>",[128,420,39],{"class":170},[128,422,278],{"class":166},[128,424,426,429,431,433],{"class":130,"line":425},13,[128,427,428],{"class":170},"  colorNode",[128,430,287],{"class":134},[128,432,218],{"class":271},[128,434,435],{"class":170},"(\n",[128,437,439,442,444,447,450],{"class":130,"line":438},14,[128,440,441],{"class":271},"    color",[128,443,275],{"class":170},[128,445,446],{"class":152},"'#fbb03b'",[128,448,449],{"class":170},")",[128,451,293],{"class":166},[128,453,455,458],{"class":130,"line":454},15,[128,456,457],{"class":170},"    uTint",[128,459,293],{"class":166},[128,461,463,466,469,472,475,478,480,483,486,488,491,493,495,497,500,503,505,507,509,512,514,516,518,520,522,524],{"class":130,"line":462},16,[128,464,465],{"class":271},"    sin",[128,467,468],{"class":170},"(time",[128,470,471],{"class":134},".",[128,473,474],{"class":271},"mul",[128,476,477],{"class":170},"(uSpeed)",[128,479,471],{"class":134},[128,481,482],{"class":271},"add",[128,484,485],{"class":170},"(positionLocal",[128,487,471],{"class":134},[128,489,490],{"class":170},"y",[128,492,471],{"class":134},[128,494,474],{"class":271},[128,496,275],{"class":170},[128,498,499],{"class":311},"4",[128,501,502],{"class":170},")))",[128,504,471],{"class":134},[128,506,474],{"class":271},[128,508,275],{"class":170},[128,510,511],{"class":311},"0.5",[128,513,449],{"class":170},[128,515,471],{"class":134},[128,517,482],{"class":271},[128,519,275],{"class":170},[128,521,511],{"class":311},[128,523,449],{"class":170},[128,525,293],{"class":166},[128,527,529,532],{"class":130,"line":528},17,[128,530,531],{"class":170},"  )",[128,533,293],{"class":166},[128,535,537,539],{"class":130,"line":536},18,[128,538,180],{"class":166},[128,540,541],{"class":170},"))\n",[128,543,545,548,550],{"class":130,"line":544},19,[128,546,547],{"class":134},"\u003C\u002F",[128,549,139],{"class":138},[128,551,156],{"class":134},[128,553,555],{"class":130,"line":554},20,[128,556,247],{"emptyLinePlaceholder":246},[128,558,560,562,565],{"class":130,"line":559},21,[128,561,135],{"class":134},[128,563,564],{"class":138},"template",[128,566,156],{"class":134},[128,568,570,573,576],{"class":130,"line":569},22,[128,571,572],{"class":134},"  \u003C",[128,574,575],{"class":138},"TresMesh",[128,577,156],{"class":134},[128,579,581,584,587,590,593,595,598,601,604,606,609,611,614,616,619,622,624],{"class":130,"line":580},23,[128,582,583],{"class":134},"    \u003C",[128,585,586],{"class":138},"TresTorusKnotGeometry",[128,588,589],{"class":166}," :",[128,591,592],{"class":142},"args",[128,594,149],{"class":134},[128,596,597],{"class":152},"\"",[128,599,600],{"class":170},"[",[128,602,603],{"class":311},"0.6",[128,605,174],{"class":166},[128,607,608],{"class":311}," 0.2",[128,610,174],{"class":166},[128,612,613],{"class":311}," 128",[128,615,174],{"class":166},[128,617,618],{"class":311}," 32",[128,620,621],{"class":170},"]",[128,623,597],{"class":152},[128,625,626],{"class":134}," \u002F>\n",[128,628,630,632,635,637,640,642,644,647,649],{"class":130,"line":629},24,[128,631,583],{"class":134},[128,633,634],{"class":138},"TresMeshStandardNodeMaterial",[128,636,589],{"class":166},[128,638,639],{"class":142},"color-node",[128,641,149],{"class":134},[128,643,597],{"class":152},[128,645,646],{"class":170},"colorNode",[128,648,597],{"class":152},[128,650,626],{"class":134},[128,652,654,657,659],{"class":130,"line":653},25,[128,655,656],{"class":134},"  \u003C\u002F",[128,658,575],{"class":138},[128,660,156],{"class":134},[128,662,664,666,668],{"class":130,"line":663},26,[128,665,547],{"class":134},[128,667,564],{"class":138},[128,669,156],{"class":134},[11,671,672,673,676],{},"Move the sliders: the color and the speed change, and the material does not recompile. In ",[20,674,675],{},"on-demand"," render mode, a change from a ref or a getter requests a new frame.",[11,678,679,680,683,684,471],{},"Each canvas has one store for uniforms, nodes and passes. Use a scope name to keep entries apart, for example ",[20,681,682],{},"useUniforms({ uHealth: 100 }, 'player')",". The API can still change in a minor release. Everything is in the ",[41,685,688],{"href":686,"rel":687},"https:\u002F\u002Fdocs.tresjs.org\u002Fapi\u002Fadvanced\u002Ftsl-composables",[45],"TSL composables guide",[29,690,692],{"id":691},"post-processing-on-webgpu","Post-processing on WebGPU",[11,694,695,698,699,702,703,705],{},[20,696,697],{},"@tresjs\u002Fpost-processing"," has a new ",[20,700,701],{},"\u002Fwebgpu"," entry, built on ",[20,704,105],{},". It came in three steps:",[56,707,708],{},[59,709,710,729,740],{},[62,711,712,69,716,69,718,39,723,728],{},[15,713,714],{},[20,715,26],{},[15,717,72],{},[15,719,720],{},[20,721,722],{},"defineEffect",[41,724,727],{"href":725,"rel":726},"https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1554",[45],"#1554",", 3.12.0). The composer chains TSL effects as Vue components, in slot order.",[62,730,731,39,734,739],{},[15,732,733],{},"HDR and LDR stages",[41,735,738],{"href":736,"rel":737},"https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1557",[45],"#1557",", 3.13.0). HDR effects run before tone mapping, LDR effects run after it. So FXAA, SMAA and film grain get display colors.",[62,741,742,39,745,750,751,754,755,758,759,762,763,754,766,758,769,772],{},[15,743,744],{},"Six effects",[41,746,749],{"href":747,"rel":748},"https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1564",[45],"#1564",", 3.14.0): ",[20,752,753],{},"Bloom",", ",[20,756,757],{},"ChromaticAberration"," and ",[20,760,761],{},"DepthOfField"," in the HDR stage, ",[20,764,765],{},"FXAA",[20,767,768],{},"SMAA",[20,770,771],{},"Film"," in the LDR stage.",[119,774,776],{"className":121,"code":775,"language":123,"meta":124,"style":124},"\u003Cscript setup lang=\"ts\">\nimport { TresCanvas } from '@tresjs\u002Fcore\u002Fwebgpu'\nimport { Bloom, EffectComposer, SMAA } from '@tresjs\u002Fpost-processing\u002Fwebgpu'\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CTresCanvas :antialias=\"false\">\n    \u003C!-- Your scene -->\n\n    \u003CEffectComposer>\n      \u003CBloom :strength=\"1\" :threshold=\"0.8\" \u002F>\n      \u003CSMAA \u002F>\n    \u003C\u002FEffectComposer>\n  \u003C\u002FTresCanvas>\n\u003C\u002Ftemplate>\n",[20,777,778,794,809,835,843,847,855,878,884,888,896,933,941,950,958],{"__ignoreMap":124},[128,779,780,782,784,786,788,790,792],{"class":130,"line":131},[128,781,135],{"class":134},[128,783,139],{"class":138},[128,785,143],{"class":142},[128,787,146],{"class":142},[128,789,149],{"class":134},[128,791,153],{"class":152},[128,793,156],{"class":134},[128,795,796,798,800,803,805,807],{"class":130,"line":159},[128,797,163],{"class":162},[128,799,167],{"class":166},[128,801,802],{"class":170}," TresCanvas ",[128,804,180],{"class":166},[128,806,183],{"class":162},[128,808,186],{"class":152},[128,810,811,813,815,818,820,823,825,828,830,832],{"class":130,"line":189},[128,812,163],{"class":162},[128,814,167],{"class":166},[128,816,817],{"class":170}," Bloom",[128,819,174],{"class":166},[128,821,822],{"class":170}," EffectComposer",[128,824,174],{"class":166},[128,826,827],{"class":170}," SMAA ",[128,829,180],{"class":166},[128,831,183],{"class":162},[128,833,834],{"class":152}," '@tresjs\u002Fpost-processing\u002Fwebgpu'\n",[128,836,837,839,841],{"class":130,"line":206},[128,838,547],{"class":134},[128,840,139],{"class":138},[128,842,156],{"class":134},[128,844,845],{"class":130,"line":243},[128,846,247],{"emptyLinePlaceholder":246},[128,848,849,851,853],{"class":130,"line":250},[128,850,135],{"class":134},[128,852,564],{"class":138},[128,854,156],{"class":134},[128,856,857,859,862,864,867,869,871,874,876],{"class":130,"line":281},[128,858,572],{"class":134},[128,860,861],{"class":138},"TresCanvas",[128,863,589],{"class":166},[128,865,866],{"class":142},"antialias",[128,868,149],{"class":134},[128,870,597],{"class":152},[128,872,873],{"class":311},"false",[128,875,597],{"class":152},[128,877,156],{"class":134},[128,879,880],{"class":130,"line":296},[128,881,883],{"class":882},"sMnCH","    \u003C!-- Your scene -->\n",[128,885,886],{"class":130,"line":338},[128,887,247],{"emptyLinePlaceholder":246},[128,889,890,892,894],{"class":130,"line":346},[128,891,583],{"class":134},[128,893,26],{"class":138},[128,895,156],{"class":134},[128,897,898,901,903,905,908,910,912,915,917,919,922,924,926,929,931],{"class":130,"line":392},[128,899,900],{"class":134},"      \u003C",[128,902,753],{"class":138},[128,904,589],{"class":166},[128,906,907],{"class":142},"strength",[128,909,149],{"class":134},[128,911,597],{"class":152},[128,913,914],{"class":311},"1",[128,916,597],{"class":152},[128,918,589],{"class":166},[128,920,921],{"class":142},"threshold",[128,923,149],{"class":134},[128,925,597],{"class":152},[128,927,928],{"class":311},"0.8",[128,930,597],{"class":152},[128,932,626],{"class":134},[128,934,935,937,939],{"class":130,"line":397},[128,936,900],{"class":134},[128,938,768],{"class":138},[128,940,626],{"class":134},[128,942,943,946,948],{"class":130,"line":425},[128,944,945],{"class":134},"    \u003C\u002F",[128,947,26],{"class":138},[128,949,156],{"class":134},[128,951,952,954,956],{"class":130,"line":438},[128,953,656],{"class":134},[128,955,861],{"class":138},[128,957,156],{"class":134},[128,959,960,962,964],{"class":130,"line":454},[128,961,547],{"class":134},[128,963,564],{"class":138},[128,965,156],{"class":134},[11,967,968,969,972,973,976],{},"The stage wins over the slot order: ",[20,970,971],{},"\u003CSMAA \u002F>"," before ",[20,974,975],{},"\u003CBloom \u002F>"," still runs bloom first. In development, the composer warns once when an LDR effect comes before an HDR effect.",[11,978,979,980,754,983,986,987,990,991,994],{},"A prop change writes a uniform, so it does not rebuild the graph. An add, a remove or a reorder (",[20,981,982],{},"v-if",[20,984,985],{},"v-for",") builds the graph again and compiles a new shader. To switch an effect on and off often, set a prop such as ",[20,988,989],{},"amount"," to ",[20,992,993],{},"0"," instead.",[996,997,999],"h3",{"id":998},"write-your-own-effect","Write your own effect",[11,1001,1002,1004],{},[20,1003,722],{}," returns a Vue component. Each prop becomes a uniform with the same name:",[119,1006,1010],{"className":1007,"code":1008,"language":1009,"meta":124,"style":124},"language-ts shiki shiki-themes catppuccin-latte catppuccin-latte catppuccin-frappe","import { defineEffect } from '@tresjs\u002Fpost-processing\u002Fwebgpu'\nimport { vec4 } from 'three\u002Ftsl'\n\nconst Posterize = defineEffect({\n  name: 'Posterize',\n  stage: 'ldr',\n  props: { levels: 4 },\n  create: (input, { uniforms }) =>\n    vec4(input.rgb.mul(uniforms.levels.sub(1)).round().div(uniforms.levels.sub(1)), input.a),\n})\n","ts",[20,1011,1012,1027,1042,1046,1062,1074,1086,1105,1131,1208],{"__ignoreMap":124},[128,1013,1014,1016,1018,1021,1023,1025],{"class":130,"line":131},[128,1015,163],{"class":162},[128,1017,167],{"class":166},[128,1019,1020],{"class":170}," defineEffect ",[128,1022,180],{"class":166},[128,1024,183],{"class":162},[128,1026,834],{"class":152},[128,1028,1029,1031,1033,1036,1038,1040],{"class":130,"line":159},[128,1030,163],{"class":162},[128,1032,167],{"class":166},[128,1034,1035],{"class":170}," vec4 ",[128,1037,180],{"class":166},[128,1039,183],{"class":162},[128,1041,240],{"class":152},[128,1043,1044],{"class":130,"line":189},[128,1045,247],{"emptyLinePlaceholder":246},[128,1047,1048,1050,1053,1055,1058,1060],{"class":130,"line":206},[128,1049,253],{"class":162},[128,1051,1052],{"class":170}," Posterize ",[128,1054,149],{"class":134},[128,1056,1057],{"class":271}," defineEffect",[128,1059,275],{"class":170},[128,1061,278],{"class":166},[128,1063,1064,1067,1069,1072],{"class":130,"line":243},[128,1065,1066],{"class":170},"  name",[128,1068,287],{"class":134},[128,1070,1071],{"class":152}," 'Posterize'",[128,1073,293],{"class":166},[128,1075,1076,1079,1081,1084],{"class":130,"line":250},[128,1077,1078],{"class":170},"  stage",[128,1080,287],{"class":134},[128,1082,1083],{"class":152}," 'ldr'",[128,1085,293],{"class":166},[128,1087,1088,1091,1093,1095,1098,1100,1103],{"class":130,"line":281},[128,1089,1090],{"class":170},"  props",[128,1092,287],{"class":134},[128,1094,167],{"class":166},[128,1096,1097],{"class":170}," levels",[128,1099,287],{"class":134},[128,1101,1102],{"class":311}," 4",[128,1104,335],{"class":166},[128,1106,1107,1110,1112,1114,1118,1120,1122,1125,1128],{"class":130,"line":296},[128,1108,1109],{"class":271},"  create",[128,1111,287],{"class":134},[128,1113,39],{"class":166},[128,1115,1117],{"class":1116},"sQnVB","input",[128,1119,174],{"class":166},[128,1121,167],{"class":166},[128,1123,1124],{"class":1116}," uniforms",[128,1126,1127],{"class":166}," })",[128,1129,1130],{"class":134}," =>\n",[128,1132,1133,1136,1139,1141,1144,1146,1148,1151,1153,1156,1158,1161,1163,1165,1168,1170,1173,1175,1177,1180,1182,1184,1186,1188,1190,1192,1194,1196,1198,1201,1203,1206],{"class":130,"line":338},[128,1134,1135],{"class":271},"    vec4",[128,1137,1138],{"class":170},"(input",[128,1140,471],{"class":134},[128,1142,1143],{"class":170},"rgb",[128,1145,471],{"class":134},[128,1147,474],{"class":271},[128,1149,1150],{"class":170},"(uniforms",[128,1152,471],{"class":134},[128,1154,1155],{"class":170},"levels",[128,1157,471],{"class":134},[128,1159,1160],{"class":271},"sub",[128,1162,275],{"class":170},[128,1164,914],{"class":311},[128,1166,1167],{"class":170},"))",[128,1169,471],{"class":134},[128,1171,1172],{"class":271},"round",[128,1174,415],{"class":170},[128,1176,471],{"class":134},[128,1178,1179],{"class":271},"div",[128,1181,1150],{"class":170},[128,1183,471],{"class":134},[128,1185,1155],{"class":170},[128,1187,471],{"class":134},[128,1189,1160],{"class":271},[128,1191,275],{"class":170},[128,1193,914],{"class":311},[128,1195,1167],{"class":170},[128,1197,174],{"class":166},[128,1199,1200],{"class":170}," input",[128,1202,471],{"class":134},[128,1204,1205],{"class":170},"a)",[128,1207,293],{"class":166},[128,1209,1210,1212],{"class":130,"line":346},[128,1211,180],{"class":166},[128,1213,343],{"class":170},[1215,1216,1217],"prose-note",{},[11,1218,1219,1222,1223,1226,1227,1230,1231,1234,1235,1238],{},[20,1220,1221],{},"@tresjs\u002Fpost-processing\u002Fwebgpu"," needs ",[20,1224,1225],{},"three"," r183 or newer and ",[20,1228,1229],{},"@tresjs\u002Fcore"," 5.11 or newer. The prop names and defaults follow the three TSL nodes, not the WebGL components. For example, ",[20,1232,1233],{},"DepthOfField.focusDistance"," is in world units, but ",[20,1236,1237],{},"DepthOfFieldPmndrs.focusDistance"," is a normalized depth. Each effect page lists the differences.",[11,1240,1241,1242,471],{},"The full API is in the ",[41,1243,1246],{"href":1244,"rel":1245},"https:\u002F\u002Fpost-processing.tresjs.org\u002Fapi\u002Fwebgpu",[45],"WebGPU post-processing guide",[29,1248,1250],{"id":1249},"cientos-the-big-four-on-webgpu","Cientos: the big four on WebGPU",[11,1252,1253,1254,754,1257,758,1260,1263,1264,1267,1268,1271],{},"In October, ",[20,1255,1256],{},"ContactShadows",[20,1258,1259],{},"MeshTransmissionMaterial",[20,1261,1262],{},"MeshPortalMaterial"," were on the \"not ported yet\" list. In ",[20,1265,1266],{},"@tresjs\u002Fcientos@5.13.0"," they work on WebGPU, and ",[20,1269,1270],{},"MeshReflectionMaterial"," came with them. Same names, same props, you only change the import path:",[119,1273,1275],{"className":1007,"code":1274,"language":1009,"meta":124,"style":124},"import {\n  ContactShadows,\n  MeshPortalMaterial,\n  MeshReflectionMaterial,\n  MeshTransmissionMaterial,\n} from '@tresjs\u002Fcientos\u002Fwebgpu'\n",[20,1276,1277,1284,1291,1298,1305,1312],{"__ignoreMap":124},[128,1278,1279,1281],{"class":130,"line":131},[128,1280,163],{"class":162},[128,1282,1283],{"class":166}," {\n",[128,1285,1286,1289],{"class":130,"line":159},[128,1287,1288],{"class":170},"  ContactShadows",[128,1290,293],{"class":166},[128,1292,1293,1296],{"class":130,"line":189},[128,1294,1295],{"class":170},"  MeshPortalMaterial",[128,1297,293],{"class":166},[128,1299,1300,1303],{"class":130,"line":206},[128,1301,1302],{"class":170},"  MeshReflectionMaterial",[128,1304,293],{"class":166},[128,1306,1307,1310],{"class":130,"line":243},[128,1308,1309],{"class":170},"  MeshTransmissionMaterial",[128,1311,293],{"class":166},[128,1313,1314,1316,1318],{"class":130,"line":250},[128,1315,180],{"class":166},[128,1317,183],{"class":162},[128,1319,1320],{"class":152}," '@tresjs\u002Fcientos\u002Fwebgpu'\n",[56,1322,1323],{},[59,1324,1325,1348,1367,1383],{},[62,1326,1327,39,1331,1336,1337,1340,1341,758,1344,1347],{},[15,1328,1329],{},[20,1330,1256],{},[41,1332,1335],{"href":1333,"rel":1334},"https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1568",[45],"#1568",") renders into a generic ",[20,1338,1339],{},"RenderTarget"," and blurs with TSL node materials. It is the base for ",[20,1342,1343],{},"Stage",[20,1345,1346],{},"SoftShadows"," on WebGPU.",[62,1349,1350,39,1354,1359,1360,1363,1364,471],{},[15,1351,1352],{},[20,1353,1259],{},[41,1355,1358],{"href":1356,"rel":1357},"https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1565",[45],"#1565",") extends ",[20,1361,1362],{},"MeshPhysicalNodeMaterial"," and mixes the refracted samples in through ",[20,1365,1366],{},"backdropNode",[62,1368,1369,39,1373,1378,1379,1382],{},[15,1370,1371],{},[20,1372,1262],{},[41,1374,1377],{"href":1375,"rel":1376},"https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1567",[45],"#1567",") uses a TSL window material. The ",[20,1380,1381],{},"blend"," cross-fade works on WebGPU and on the WebGL2 fallback.",[62,1384,1385,39,1389,1359,1394,1397],{},[15,1386,1387],{},[20,1388,1270],{},[41,1390,1393],{"href":1391,"rel":1392},"https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1569",[45],"#1569",[20,1395,1396],{},"MeshStandardNodeMaterial",". Blur, depth and distortion are uniforms, so switching them on or off does not remount the material.",[11,1399,1400,1401,758,1404,1407,1408,1411,1412,39,1414,1419,1420,69,1422,1424,1425,1428,1429,1432],{},"These four use FBOs, so ",[20,1402,1403],{},"useFBO",[20,1405,1406],{},"Fbo"," in ",[20,1409,1410],{},"@tresjs\u002Fcientos\u002Fwebgpu"," now create a generic ",[20,1413,1339],{},[41,1415,1418],{"href":1416,"rel":1417},"https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1556",[45],"#1556",", 5.12.0). The props and options do not change, but the ",[20,1421,701],{},[20,1423,1403],{}," now returns ",[20,1426,1427],{},"Ref\u003CRenderTarget | null>",". On a WebGPU canvas, ",[20,1430,1431],{},"samples: 1"," logs a warning, because it slows three r186 to about 1 fps.",[11,1434,1435,1436,754,1439,1442,1443,471],{},"Each WebGPU port shares one shell with its GLSL version (",[20,1437,1438],{},"useContactShadows",[20,1440,1441],{},"useMeshReflectionMaterial","...), so both renderers get the same fixes from now on. The list of what is still GLSL only is in the ",[41,1444,1447],{"href":1445,"rel":1446},"https:\u002F\u002Fcientos.tresjs.org\u002Fgetting-started\u002Fwebgpu",[45],"Cientos WebGPU guide",[29,1449,1451],{"id":1450},"core-extend-learns-two-tricks","Core: extend learns two tricks",[11,1453,1454,1457,1458,1461],{},[20,1455,1456],{},"@tresjs\u002Fcore@5.12.0"," gives ",[20,1459,1460],{},"extend"," two options for libraries that ship classes through it.",[11,1463,1464,69,1467,39,1472,1477,1478,1481,1482,1484],{},[15,1465,1466],{},"A default",[15,1468,1469],{},[20,1470,1471],{},"attach",[41,1473,1476],{"href":1474,"rel":1475},"https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1558",[45],"#1558","). Materials, geometries and fog attach to their parent automatically. Other classes that are not an ",[20,1479,1480],{},"Object3D"," needed an ",[20,1483,1471],{}," prop. Now the class can bring its own:",[119,1486,1488],{"className":1007,"code":1487,"language":1009,"meta":124,"style":124},"import { extend } from '@tresjs\u002Fcore'\nimport { FollowBody } from 'some-camera-library'\n\nextend({\n  FollowBody: {\n    object: FollowBody,\n    attach: (parent, child) => parent.setBody(child),\n  },\n})\n",[20,1489,1490,1506,1522,1526,1534,1543,1555,1589,1594],{"__ignoreMap":124},[128,1491,1492,1494,1496,1499,1501,1503],{"class":130,"line":131},[128,1493,163],{"class":162},[128,1495,167],{"class":166},[128,1497,1498],{"class":170}," extend ",[128,1500,180],{"class":166},[128,1502,183],{"class":162},[128,1504,1505],{"class":152}," '@tresjs\u002Fcore'\n",[128,1507,1508,1510,1512,1515,1517,1519],{"class":130,"line":159},[128,1509,163],{"class":162},[128,1511,167],{"class":166},[128,1513,1514],{"class":170}," FollowBody ",[128,1516,180],{"class":166},[128,1518,183],{"class":162},[128,1520,1521],{"class":152}," 'some-camera-library'\n",[128,1523,1524],{"class":130,"line":189},[128,1525,247],{"emptyLinePlaceholder":246},[128,1527,1528,1530,1532],{"class":130,"line":206},[128,1529,1460],{"class":271},[128,1531,275],{"class":170},[128,1533,278],{"class":166},[128,1535,1536,1539,1541],{"class":130,"line":243},[128,1537,1538],{"class":170},"  FollowBody",[128,1540,287],{"class":134},[128,1542,1283],{"class":166},[128,1544,1545,1548,1550,1553],{"class":130,"line":250},[128,1546,1547],{"class":170},"    object",[128,1549,287],{"class":134},[128,1551,1552],{"class":170}," FollowBody",[128,1554,293],{"class":166},[128,1556,1557,1560,1562,1564,1567,1569,1572,1574,1576,1579,1581,1584,1587],{"class":130,"line":281},[128,1558,1559],{"class":271},"    attach",[128,1561,287],{"class":134},[128,1563,39],{"class":166},[128,1565,1566],{"class":1116},"parent",[128,1568,174],{"class":166},[128,1570,1571],{"class":1116}," child",[128,1573,449],{"class":166},[128,1575,418],{"class":134},[128,1577,1578],{"class":170}," parent",[128,1580,471],{"class":134},[128,1582,1583],{"class":271},"setBody",[128,1585,1586],{"class":170},"(child)",[128,1588,293],{"class":166},[128,1590,1591],{"class":130,"line":296},[128,1592,1593],{"class":166},"  },\n",[128,1595,1596,1598],{"class":130,"line":338},[128,1597,180],{"class":166},[128,1599,343],{"class":170},[11,1601,1602,1605,1606,1608],{},[20,1603,1604],{},"\u003CTresFollowBody \u002F>"," now attaches itself. An ",[20,1607,1471],{}," prop still overrides the default.",[11,1610,1611,39,1614,1619,1620,990,1623,1626,1627,1630,1631,1634,1635,1637,1638,1640,1641,1643,1644,1646,1647,287],{},[15,1612,1613],{},"Props that Tres assigns",[41,1615,1618],{"href":1616,"rel":1617},"https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1560",[45],"#1560","). When you changed ",[20,1621,1622],{},":target=\"pointA\"",[20,1624,1625],{},":target=\"pointB\"",", Tres wrote the values of ",[20,1628,1629],{},"pointB"," into ",[20,1632,1633],{},"pointA",". Your ",[20,1636,1633],{}," changed without you asking. Now Tres assigns ",[20,1639,1629],{},", and ",[20,1642,1633],{}," keeps its values. Arrays and color strings go into a clone that Tres owns. For a value that came from ",[20,1645,592],{},", list the prop in ",[20,1648,1649],{},"assign",[119,1651,1653],{"className":1007,"code":1652,"language":1009,"meta":124,"style":124},"extend({\n  Follower: {\n    object: Follower,\n    assign: ['target'],\n  },\n})\n",[20,1654,1655,1663,1672,1683,1700,1704],{"__ignoreMap":124},[128,1656,1657,1659,1661],{"class":130,"line":131},[128,1658,1460],{"class":271},[128,1660,275],{"class":170},[128,1662,278],{"class":166},[128,1664,1665,1668,1670],{"class":130,"line":159},[128,1666,1667],{"class":170},"  Follower",[128,1669,287],{"class":134},[128,1671,1283],{"class":166},[128,1673,1674,1676,1678,1681],{"class":130,"line":189},[128,1675,1547],{"class":170},[128,1677,287],{"class":134},[128,1679,1680],{"class":170}," Follower",[128,1682,293],{"class":166},[128,1684,1685,1688,1690,1693,1696,1698],{"class":130,"line":206},[128,1686,1687],{"class":170},"    assign",[128,1689,287],{"class":134},[128,1691,1692],{"class":170}," [",[128,1694,1695],{"class":152},"'target'",[128,1697,621],{"class":170},[128,1699,293],{"class":166},[128,1701,1702],{"class":130,"line":243},[128,1703,1593],{"class":166},[128,1705,1706,1708],{"class":130,"line":250},[128,1707,180],{"class":166},[128,1709,343],{"class":170},[11,1711,1712,1713,471],{},"Both are in the ",[41,1714,1717],{"href":1715,"rel":1716},"https:\u002F\u002Fdocs.tresjs.org\u002Fessentials\u002Fconcepts\u002Fextending-catalogue",[45],"Extending the catalogue guide",[29,1719,1721],{"id":1720},"rapier-colliders-on-the-mesh-not-on-the-origin","Rapier: colliders on the mesh, not on the origin",[11,1723,1724,1727,1728,1733],{},[20,1725,1726],{},"@tresjs\u002Frapier@1.5.0"," puts automatic colliders on the centre of the mesh bounding box (",[41,1729,1732],{"href":1730,"rel":1731},"https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1570",[45],"#1570","). Before, they sat on the mesh origin. A model with its origin at the base or at a corner (a typical Blender export) got a collider that floated next to it.",[56,1735,1736],{},[59,1737,1738,1741,1748,1751],{},[62,1739,1740],{},"Cuboid, ball and capsule colliders add the bounding-box centre to their position. The mesh rotation and scale apply to this offset.",[62,1742,1743,1744,1747],{},"A change of the ",[20,1745,1746],{},"collider"," prop recalculates the args and the position, not only the shape.",[62,1749,1750],{},"A group is measured in its own space, so its transform no longer applies twice.",[62,1752,1753,758,1756,1759],{},[20,1754,1755],{},"trimesh",[20,1757,1758],{},"convexHull"," stay at the mesh origin, because their vertices already carry the offset.",[11,1761,1762,1763,1768],{},"See ",[41,1764,1767],{"href":1765,"rel":1766},"https:\u002F\u002Frapier.tresjs.org\u002Fapi\u002Frigid-body\u002Fautomatic-colliders",[45],"Automatic colliders"," for the details.",[29,1770,1772],{"id":1771},"fixes-worth-knowing-about","Fixes worth knowing about",[996,1774,1776],{"id":1775},"core","Core",[11,1778,1779,69,1784,39,1787,1792,1793,1796,1797,1800,1801,1804,1805,758,1808,1811,1812,1814,1815,1817],{},[15,1780,1781],{},[20,1782,1783],{},"useLoop",[15,1785,1786],{},"priority works across components",[41,1788,1791],{"href":1789,"rel":1790},"https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1559",[45],"#1559","). Priority sorted only the callbacks of one ",[20,1794,1795],{},"useLoop()"," call. So a camera rig with ",[20,1798,1799],{},"priority: 100"," in one component could still run before a mover with ",[20,1802,1803],{},"priority: 0"," in another. Now all ",[20,1806,1807],{},"onBeforeRender",[20,1809,1810],{},"onRender"," callbacks of a ",[20,1813,861],{}," share one sorted list. Callbacks with the same priority run in the order of their ",[20,1816,1795],{}," calls, as before.",[996,1819,1821],{"id":1820},"cientos","Cientos",[56,1823,1824],{},[59,1825,1826,1850],{},[62,1827,1828,69,1832,69,1835,39,1840,1845,1846,1849],{},[15,1829,1830],{},[20,1831,1259],{},[15,1833,1834],{},"with",[15,1836,1837],{},[20,1838,1839],{},"transmissionSampler",[41,1841,1844],{"href":1842,"rel":1843},"https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1566",[45],"#1566","). On ",[20,1847,1848],{},"WebGLRenderer",", the mesh disappeared, because the sampler shader did not compile. Now it shows the scene through the mesh.",[62,1851,1852,69,1856,39,1859,1862],{},[15,1853,1854],{},[20,1855,1270],{},[15,1857,1858],{},"with two reflectors",[41,1860,1393],{"href":1391,"rel":1861},[45],"). Two reflectors with the same props (a floor and a wall) showed the same reflection. Each one now compiles its own material. A texture map that you add after mount now shows too.",[1215,1864,1865,1868],{},[11,1866,1867],{},"Some fixes change how existing WebGL scenes look:",[59,1869,1870,1885,1892,1905,1910],{},[62,1871,1872,1874,1875,758,1878,1881,1882,1884],{},[20,1873,1259],{},": the ",[20,1876,1877],{},"transmission",[20,1879,1880],{},"backside"," props now take effect. Before, ",[20,1883,1877],{}," stayed at 1 and the back-face pass was overwritten.",[62,1886,1887,1874,1889,1891],{},[20,1888,1262],{},[20,1890,1381],{}," cross-fade now applies tone mapping and the output color space. It looked too dark before.",[62,1893,1894,1896,1897,1900,1901,1904],{},[20,1895,1256],{},": the blur now covers the full target, so the output changes a little when ",[20,1898,1899],{},"width"," or ",[20,1902,1903],{},"height"," is not 1.",[62,1906,1907,1909],{},[20,1908,1783],{},": apps that use different priorities in different components can see a different callback order.",[62,1911,1912,1914],{},[20,1913,1460],{},": a prop change no longer writes into your previous object. If your code relied on that, assign the values yourself.",[29,1916,1918],{"id":1917},"everything-in-sync","Everything in sync",[11,1920,1921],{},"These are the latest versions:",[56,1923,1924],{},[59,1925,1926,1932,1938,1945,1952,1958],{},[62,1927,1928],{},[15,1929,1930],{},[20,1931,1456],{},[62,1933,1934],{},[15,1935,1936],{},[20,1937,1266],{},[62,1939,1940],{},[15,1941,1942],{},[20,1943,1944],{},"@tresjs\u002Fnuxt@5.10.0",[62,1946,1947],{},[15,1948,1949],{},[20,1950,1951],{},"@tresjs\u002Fpost-processing@3.14.0",[62,1953,1954],{},[15,1955,1956],{},[20,1957,1726],{},[62,1959,1960],{},[15,1961,1962],{},[20,1963,1964],{},"@tresjs\u002Fleches@1.3.3",[119,1966,1970],{"className":1967,"code":1968,"language":1969,"meta":124,"style":124},"language-bash shiki shiki-themes catppuccin-latte catppuccin-latte catppuccin-frappe","pnpm up @tresjs\u002Fcore @tresjs\u002Fcientos @tresjs\u002Fnuxt @tresjs\u002Fpost-processing @tresjs\u002Frapier @tresjs\u002Fleches\n","bash",[20,1971,1972],{"__ignoreMap":124},[128,1973,1974,1977,1980,1983,1986,1989,1992,1995],{"class":130,"line":131},[128,1975,1976],{"class":271},"pnpm",[128,1978,1979],{"class":152}," up",[128,1981,1982],{"class":152}," @tresjs\u002Fcore",[128,1984,1985],{"class":152}," @tresjs\u002Fcientos",[128,1987,1988],{"class":152}," @tresjs\u002Fnuxt",[128,1990,1991],{"class":152}," @tresjs\u002Fpost-processing",[128,1993,1994],{"class":152}," @tresjs\u002Frapier",[128,1996,1997],{"class":152}," @tresjs\u002Fleches\n",[996,1999,2001],{"id":2000},"full-release-notes","👉 Full Release Notes",[2003,2004],"read-more",{"icon":2005,"title":2006,"to":2007},"i-lucide-scroll-text","Full Release Notes","https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Freleases",[29,2009,2011],{"id":2010},"from-the-community","From the community",[996,2013,2015],{"id":2014},"andrés-salazars-portfolio","Andrés Salazar's portfolio",[11,2017,2018],{},[2019,2020],"img",{"alt":2021,"src":2022},"Andrés Salazar portfolio","\u002Fshowcase\u002Felsalaz\u002Felsalaz.png",[11,2024,2025,2030,2031,2036,2037,2041],{},[2026,2027],"magic-link",{"label":2028,"to":2029},"Andrés Salazar","https:\u002F\u002Fx.com\u002FDevSalaz"," is a creative developer from Colombia. Their ",[41,2032,2035],{"href":2033,"rel":2034},"https:\u002F\u002Felsalaz.xyz\u002F",[45],"portfolio"," is built with TresJS and collects their interactive experiences, games and websites, plus their experiments. It is the newest entry in our ",[41,2038,2040],{"href":2039},"\u002Fshowcase","showcase",". Go and play with it 🇨🇴.",[996,2043,2045],{"id":2044},"klipp","Klipp",[11,2047,2048,2052,2053,2058,2059,2063],{},[41,2049,2045],{"href":2050,"rel":2051},"https:\u002F\u002Fpmndrs.github.io\u002Fklipp",[45]," is a camera toolkit for the web from ",[41,2054,2057],{"href":2055,"rel":2056},"https:\u002F\u002Fgithub.com\u002Fpmndrs",[45],"pmndrs",", made by ",[2026,2060],{"label":2061,"to":2062},"Łukasz Kwas","https:\u002F\u002Fgithub.com\u002Fkvvasuu"," and inspired by Unity Cinemachine. You describe shots as virtual cameras, and Klipp picks the one with the highest priority and blends between them.",[11,2065,2066,2073,2074,2077,2078,2083,2084,2089,2090,754,2093,754,2096,754,2099,2102,2103,758,2106,2109],{},[41,2067,2070],{"href":2068,"rel":2069},"https:\u002F\u002Fgithub.com\u002Fpmndrs\u002Fklipp\u002Freleases\u002Ftag\u002Fv0.19.0",[45],[20,2071,2072],{},"@pmndrs\u002Fklipp@0.19.0"," adds initial support for TresJS, in a new ",[20,2075,2076],{},"@pmndrs\u002Fklipp\u002Ftres"," entry (",[41,2079,2082],{"href":2080,"rel":2081},"https:\u002F\u002Fgithub.com\u002Fpmndrs\u002Fklipp\u002Fpull\u002F161",[45],"#161","). We worked on it together with the pmndrs folks (",[41,2085,2088],{"href":2086,"rel":2087},"https:\u002F\u002Fgithub.com\u002Fpmndrs\u002Fklipp\u002Fpull\u002F159",[45],"#159","), and it is a lot of fun to see a pmndrs library speak Vue 💚. This first version has ",[20,2091,2092],{},"\u003CKlipp>",[20,2094,2095],{},"\u003CVirtualCamera>",[20,2097,2098],{},"Body.Follow",[20,2100,2101],{},"Aim.HardLookAt"," and the ",[20,2104,2105],{},"useKlipp",[20,2107,2108],{},"useVirtualCamera"," composables:",[119,2111,2113],{"className":121,"code":2112,"language":123,"meta":124,"style":124},"\u003Cscript setup lang=\"ts\">\nimport { Aim, Body, Klipp, VirtualCamera } from '@pmndrs\u002Fklipp\u002Ftres'\nimport type { Mesh } from 'three'\nimport { shallowRef } from 'vue'\n\ndefineProps\u003C{ cutscene: boolean }>()\n\nconst capsuleArgs: [number, number, number, number] = [0.4, 1, 8, 16]\nconst followOffset: [number, number, number] = [0, 3, 8]\nconst cutsceneOffset: [number, number, number] = [-6, 1, 3]\n\nconst player = shallowRef\u003CMesh>()\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CTresPerspectiveCamera :fov=\"50\" \u002F>\n  \u003CTresMesh ref=\"player\">\n    \u003CTresCapsuleGeometry :args=\"capsuleArgs\" \u002F>\n    \u003CTresMeshNormalMaterial \u002F>\n  \u003C\u002FTresMesh>\n\n  \u003CKlipp>\n    \u003CVirtualCamera name=\"follow\" :priority=\"10\">\n      \u003CBody.Follow :target=\"player\" :offset=\"followOffset\" :damping=\"0.5\" \u002F>\n      \u003CAim.HardLookAt :target=\"player\" \u002F>\n    \u003C\u002FVirtualCamera>\n\n    \u003CVirtualCamera name=\"cutscene\" :priority=\"20\" :active=\"cutscene\">\n      \u003CBody.Follow :target=\"player\" :offset=\"cutsceneOffset\" :damping=\"0.3\" \u002F>\n      \u003CAim.HardLookAt :target=\"player\" \u002F>\n    \u003C\u002FVirtualCamera>\n  \u003C\u002FKlipp>\n\u003C\u002Ftemplate>\n",[20,2114,2115,2131,2162,2181,2197,2201,2229,2233,2288,2328,2371,2375,2396,2404,2408,2416,2439,2455,2477,2486,2494,2498,2506,2537,2568,2582,2590,2595,2638,2667,2682,2691,2700],{"__ignoreMap":124},[128,2116,2117,2119,2121,2123,2125,2127,2129],{"class":130,"line":131},[128,2118,135],{"class":134},[128,2120,139],{"class":138},[128,2122,143],{"class":142},[128,2124,146],{"class":142},[128,2126,149],{"class":134},[128,2128,153],{"class":152},[128,2130,156],{"class":134},[128,2132,2133,2135,2137,2140,2142,2145,2147,2150,2152,2155,2157,2159],{"class":130,"line":159},[128,2134,163],{"class":162},[128,2136,167],{"class":166},[128,2138,2139],{"class":170}," Aim",[128,2141,174],{"class":166},[128,2143,2144],{"class":170}," Body",[128,2146,174],{"class":166},[128,2148,2149],{"class":170}," Klipp",[128,2151,174],{"class":166},[128,2153,2154],{"class":170}," VirtualCamera ",[128,2156,180],{"class":166},[128,2158,183],{"class":162},[128,2160,2161],{"class":152}," '@pmndrs\u002Fklipp\u002Ftres'\n",[128,2163,2164,2166,2169,2171,2174,2176,2178],{"class":130,"line":189},[128,2165,163],{"class":162},[128,2167,2168],{"class":162}," type",[128,2170,167],{"class":166},[128,2172,2173],{"class":170}," Mesh ",[128,2175,180],{"class":166},[128,2177,183],{"class":162},[128,2179,2180],{"class":152}," 'three'\n",[128,2182,2183,2185,2187,2190,2192,2194],{"class":130,"line":206},[128,2184,163],{"class":162},[128,2186,167],{"class":166},[128,2188,2189],{"class":170}," shallowRef ",[128,2191,180],{"class":166},[128,2193,183],{"class":162},[128,2195,2196],{"class":152}," 'vue'\n",[128,2198,2199],{"class":130,"line":243},[128,2200,247],{"emptyLinePlaceholder":246},[128,2202,2203,2206,2209,2211,2215,2217,2220,2223,2226],{"class":130,"line":250},[128,2204,2205],{"class":271},"defineProps",[128,2207,135],{"class":2208},"spb_d",[128,2210,370],{"class":166},[128,2212,2214],{"class":2213},"smifo"," cutscene",[128,2216,287],{"class":134},[128,2218,2219],{"class":162}," boolean",[128,2221,2222],{"class":166}," }",[128,2224,2225],{"class":2208},">",[128,2227,2228],{"class":170},"()\n",[128,2230,2231],{"class":130,"line":281},[128,2232,247],{"emptyLinePlaceholder":246},[128,2234,2235,2237,2240,2242,2245,2248,2250,2253,2255,2257,2259,2261,2264,2266,2268,2271,2273,2275,2277,2280,2282,2285],{"class":130,"line":296},[128,2236,253],{"class":162},[128,2238,2239],{"class":170}," capsuleArgs",[128,2241,287],{"class":134},[128,2243,1692],{"class":2244},"sVAQX",[128,2246,2247],{"class":162},"number",[128,2249,174],{"class":166},[128,2251,2252],{"class":162}," number",[128,2254,174],{"class":166},[128,2256,2252],{"class":162},[128,2258,174],{"class":166},[128,2260,2252],{"class":162},[128,2262,2263],{"class":2244},"] ",[128,2265,149],{"class":134},[128,2267,1692],{"class":170},[128,2269,2270],{"class":311},"0.4",[128,2272,174],{"class":166},[128,2274,312],{"class":311},[128,2276,174],{"class":166},[128,2278,2279],{"class":311}," 8",[128,2281,174],{"class":166},[128,2283,2284],{"class":311}," 16",[128,2286,2287],{"class":170},"]\n",[128,2289,2290,2292,2295,2297,2299,2301,2303,2305,2307,2309,2311,2313,2315,2317,2319,2322,2324,2326],{"class":130,"line":338},[128,2291,253],{"class":162},[128,2293,2294],{"class":170}," followOffset",[128,2296,287],{"class":134},[128,2298,1692],{"class":2244},[128,2300,2247],{"class":162},[128,2302,174],{"class":166},[128,2304,2252],{"class":162},[128,2306,174],{"class":166},[128,2308,2252],{"class":162},[128,2310,2263],{"class":2244},[128,2312,149],{"class":134},[128,2314,1692],{"class":170},[128,2316,993],{"class":311},[128,2318,174],{"class":166},[128,2320,2321],{"class":311}," 3",[128,2323,174],{"class":166},[128,2325,2279],{"class":311},[128,2327,2287],{"class":170},[128,2329,2330,2332,2335,2337,2339,2341,2343,2345,2347,2349,2351,2353,2355,2358,2361,2363,2365,2367,2369],{"class":130,"line":346},[128,2331,253],{"class":162},[128,2333,2334],{"class":170}," cutsceneOffset",[128,2336,287],{"class":134},[128,2338,1692],{"class":2244},[128,2340,2247],{"class":162},[128,2342,174],{"class":166},[128,2344,2252],{"class":162},[128,2346,174],{"class":166},[128,2348,2252],{"class":162},[128,2350,2263],{"class":2244},[128,2352,149],{"class":134},[128,2354,1692],{"class":170},[128,2356,2357],{"class":134},"-",[128,2359,2360],{"class":311},"6",[128,2362,174],{"class":166},[128,2364,312],{"class":311},[128,2366,174],{"class":166},[128,2368,2321],{"class":311},[128,2370,2287],{"class":170},[128,2372,2373],{"class":130,"line":392},[128,2374,247],{"emptyLinePlaceholder":246},[128,2376,2377,2379,2382,2384,2387,2389,2392,2394],{"class":130,"line":397},[128,2378,253],{"class":162},[128,2380,2381],{"class":170}," player ",[128,2383,149],{"class":134},[128,2385,2386],{"class":271}," shallowRef",[128,2388,135],{"class":2208},[128,2390,2391],{"class":2244},"Mesh",[128,2393,2225],{"class":2208},[128,2395,2228],{"class":170},[128,2397,2398,2400,2402],{"class":130,"line":425},[128,2399,547],{"class":134},[128,2401,139],{"class":138},[128,2403,156],{"class":134},[128,2405,2406],{"class":130,"line":438},[128,2407,247],{"emptyLinePlaceholder":246},[128,2409,2410,2412,2414],{"class":130,"line":454},[128,2411,135],{"class":134},[128,2413,564],{"class":138},[128,2415,156],{"class":134},[128,2417,2418,2420,2423,2425,2428,2430,2432,2435,2437],{"class":130,"line":462},[128,2419,572],{"class":134},[128,2421,2422],{"class":138},"TresPerspectiveCamera",[128,2424,589],{"class":166},[128,2426,2427],{"class":142},"fov",[128,2429,149],{"class":134},[128,2431,597],{"class":152},[128,2433,2434],{"class":311},"50",[128,2436,597],{"class":152},[128,2438,626],{"class":134},[128,2440,2441,2443,2445,2448,2450,2453],{"class":130,"line":528},[128,2442,572],{"class":134},[128,2444,575],{"class":138},[128,2446,2447],{"class":142}," ref",[128,2449,149],{"class":134},[128,2451,2452],{"class":152},"\"player\"",[128,2454,156],{"class":134},[128,2456,2457,2459,2462,2464,2466,2468,2470,2473,2475],{"class":130,"line":536},[128,2458,583],{"class":134},[128,2460,2461],{"class":138},"TresCapsuleGeometry",[128,2463,589],{"class":166},[128,2465,592],{"class":142},[128,2467,149],{"class":134},[128,2469,597],{"class":152},[128,2471,2472],{"class":170},"capsuleArgs",[128,2474,597],{"class":152},[128,2476,626],{"class":134},[128,2478,2479,2481,2484],{"class":130,"line":544},[128,2480,583],{"class":134},[128,2482,2483],{"class":138},"TresMeshNormalMaterial",[128,2485,626],{"class":134},[128,2487,2488,2490,2492],{"class":130,"line":554},[128,2489,656],{"class":134},[128,2491,575],{"class":138},[128,2493,156],{"class":134},[128,2495,2496],{"class":130,"line":559},[128,2497,247],{"emptyLinePlaceholder":246},[128,2499,2500,2502,2504],{"class":130,"line":569},[128,2501,572],{"class":134},[128,2503,2045],{"class":138},[128,2505,156],{"class":134},[128,2507,2508,2510,2513,2516,2518,2521,2523,2526,2528,2530,2533,2535],{"class":130,"line":580},[128,2509,583],{"class":134},[128,2511,2512],{"class":138},"VirtualCamera",[128,2514,2515],{"class":142}," name",[128,2517,149],{"class":134},[128,2519,2520],{"class":152},"\"follow\"",[128,2522,589],{"class":166},[128,2524,2525],{"class":142},"priority",[128,2527,149],{"class":134},[128,2529,597],{"class":152},[128,2531,2532],{"class":311},"10",[128,2534,597],{"class":152},[128,2536,156],{"class":134},[128,2538,2539,2541,2543,2546,2548,2550,2553,2555,2558,2561,2563,2566],{"class":130,"line":629},[128,2540,900],{"class":134},[128,2542,2098],{"class":138},[128,2544,2545],{"class":142}," :target",[128,2547,149],{"class":134},[128,2549,2452],{"class":152},[128,2551,2552],{"class":142}," :offset",[128,2554,149],{"class":134},[128,2556,2557],{"class":152},"\"followOffset\"",[128,2559,2560],{"class":142}," :damping",[128,2562,149],{"class":134},[128,2564,2565],{"class":152},"\"0.5\"",[128,2567,626],{"class":134},[128,2569,2570,2572,2574,2576,2578,2580],{"class":130,"line":653},[128,2571,900],{"class":134},[128,2573,2101],{"class":138},[128,2575,2545],{"class":142},[128,2577,149],{"class":134},[128,2579,2452],{"class":152},[128,2581,626],{"class":134},[128,2583,2584,2586,2588],{"class":130,"line":663},[128,2585,945],{"class":134},[128,2587,2512],{"class":138},[128,2589,156],{"class":134},[128,2591,2593],{"class":130,"line":2592},27,[128,2594,247],{"emptyLinePlaceholder":246},[128,2596,2598,2600,2602,2604,2606,2609,2611,2613,2615,2617,2620,2622,2624,2627,2629,2631,2634,2636],{"class":130,"line":2597},28,[128,2599,583],{"class":134},[128,2601,2512],{"class":138},[128,2603,2515],{"class":142},[128,2605,149],{"class":134},[128,2607,2608],{"class":152},"\"cutscene\"",[128,2610,589],{"class":166},[128,2612,2525],{"class":142},[128,2614,149],{"class":134},[128,2616,597],{"class":152},[128,2618,2619],{"class":311},"20",[128,2621,597],{"class":152},[128,2623,589],{"class":166},[128,2625,2626],{"class":142},"active",[128,2628,149],{"class":134},[128,2630,597],{"class":152},[128,2632,2633],{"class":170},"cutscene",[128,2635,597],{"class":152},[128,2637,156],{"class":134},[128,2639,2641,2643,2645,2647,2649,2651,2653,2655,2658,2660,2662,2665],{"class":130,"line":2640},29,[128,2642,900],{"class":134},[128,2644,2098],{"class":138},[128,2646,2545],{"class":142},[128,2648,149],{"class":134},[128,2650,2452],{"class":152},[128,2652,2552],{"class":142},[128,2654,149],{"class":134},[128,2656,2657],{"class":152},"\"cutsceneOffset\"",[128,2659,2560],{"class":142},[128,2661,149],{"class":134},[128,2663,2664],{"class":152},"\"0.3\"",[128,2666,626],{"class":134},[128,2668,2670,2672,2674,2676,2678,2680],{"class":130,"line":2669},30,[128,2671,900],{"class":134},[128,2673,2101],{"class":138},[128,2675,2545],{"class":142},[128,2677,149],{"class":134},[128,2679,2452],{"class":152},[128,2681,626],{"class":134},[128,2683,2685,2687,2689],{"class":130,"line":2684},31,[128,2686,945],{"class":134},[128,2688,2512],{"class":138},[128,2690,156],{"class":134},[128,2692,2694,2696,2698],{"class":130,"line":2693},32,[128,2695,656],{"class":134},[128,2697,2045],{"class":138},[128,2699,156],{"class":134},[128,2701,2703,2705,2707],{"class":130,"line":2702},33,[128,2704,547],{"class":134},[128,2706,564],{"class":138},[128,2708,156],{"class":134},[11,2710,2711,2712,2714,2715,2717,2718,2720,2721,2724,2725,2728],{},"Turn on ",[20,2713,2633],{}," and the camera blends to the second shot. Turn it off and it blends back. Klipp needs ",[20,2716,1456],{}," or newer, because it runs its update last with a high ",[20,2719,1783],{}," priority, and that only works across components since ",[41,2722,1791],{"href":1789,"rel":2723},[45],". The other Bodies, Aims, extensions and ",[20,2726,2727],{},"KlippControls"," are next.",[29,2730,2732],{"id":2731},"thanks","Thanks",[11,2734,2735,2736,2739],{},"Thank you to ",[41,2737,2028],{"href":2033,"rel":2738},[45]," for sharing their portfolio with us, and to everyone who opened an issue or tested the WebGPU entries this month 🙌. Your reports shaped what landed.",[29,2741,2743],{"id":2742},"coming-next","Coming next",[11,2745,2746,2747,758,2749,2751,2752,2754,2755,471],{},"The WebGPU entries grow one component at a time. Next on the list: ",[20,2748,1343],{},[20,2750,1346],{}," on top of the new ",[20,2753,1256],{},", and more effects for the WebGPU composer. If there is a component or an effect you need on WebGPU, ",[41,2756,2759],{"href":2757,"rel":2758},"https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fissues",[45],"tell us",[11,2761,2762,2763,2768,2769,471],{},"Got something cool built with Tres? Share it in our ",[41,2764,2767],{"href":2765,"rel":2766},"https:\u002F\u002Fdiscord.gg\u002FUCr96AQmWn",[45],"Discord",". It might headline the next ",[2770,2771,2772],"em",{},"Loop Chronicles",[11,2774,2775],{},"Happy crafting ✌️.",[2777,2778,2779],"style",{},"html pre.shiki code .sWdzt, html code.shiki .sWdzt{--shiki-light:#179299;--shiki-default:#179299;--shiki-dark:#81C8BE}html pre.shiki code .slJ5s, html code.shiki .slJ5s{--shiki-light:#1E66F5;--shiki-default:#1E66F5;--shiki-dark:#8CAAEE}html pre.shiki code .s1cdE, html code.shiki .s1cdE{--shiki-light:#DF8E1D;--shiki-default:#DF8E1D;--shiki-dark:#E5C890}html pre.shiki code .s9Zht, html code.shiki .s9Zht{--shiki-light:#40A02B;--shiki-default:#40A02B;--shiki-dark:#A6D189}html pre.shiki code .sZyUJ, html code.shiki .sZyUJ{--shiki-light:#8839EF;--shiki-default:#8839EF;--shiki-dark:#CA9EE6}html pre.shiki code .spKPg, html code.shiki .spKPg{--shiki-light:#7C7F93;--shiki-default:#7C7F93;--shiki-dark:#949CBB}html pre.shiki code .s9Av-, html code.shiki .s9Av-{--shiki-light:#4C4F69;--shiki-default:#4C4F69;--shiki-dark:#C6D0F5}html pre.shiki code .s0faT, html code.shiki .s0faT{--shiki-light:#1E66F5;--shiki-light-font-style:italic;--shiki-default:#1E66F5;--shiki-default-font-style:italic;--shiki-dark:#8CAAEE;--shiki-dark-font-style:italic}html pre.shiki code .sREMW, html code.shiki .sREMW{--shiki-light:#FE640B;--shiki-default:#FE640B;--shiki-dark:#EF9F76}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);}html pre.shiki code .sMnCH, html code.shiki .sMnCH{--shiki-light:#7C7F93;--shiki-light-font-style:italic;--shiki-default:#7C7F93;--shiki-default-font-style:italic;--shiki-dark:#949CBB;--shiki-dark-font-style:italic}html pre.shiki code .sQnVB, html code.shiki .sQnVB{--shiki-light:#E64553;--shiki-light-font-style:italic;--shiki-default:#E64553;--shiki-default-font-style:italic;--shiki-dark:#EA999C;--shiki-dark-font-style:italic}html pre.shiki code .spb_d, html code.shiki .spb_d{--shiki-light:#04A5E5;--shiki-default:#04A5E5;--shiki-dark:#99D1DB}html pre.shiki code .smifo, html code.shiki .smifo{--shiki-light:#4C4F69;--shiki-light-font-style:italic;--shiki-default:#4C4F69;--shiki-default-font-style:italic;--shiki-dark:#C6D0F5;--shiki-dark-font-style:italic}html pre.shiki code .sVAQX, html code.shiki .sVAQX{--shiki-light:#DF8E1D;--shiki-light-font-style:italic;--shiki-default:#DF8E1D;--shiki-default-font-style:italic;--shiki-dark:#E5C890;--shiki-dark-font-style:italic}",{"title":124,"searchDepth":159,"depth":159,"links":2781},[2782,2783,2786,2787,2788,2789,2793,2796,2800,2801],{"id":31,"depth":159,"text":32},{"id":691,"depth":159,"text":692,"children":2784},[2785],{"id":998,"depth":189,"text":999},{"id":1249,"depth":159,"text":1250},{"id":1450,"depth":159,"text":1451},{"id":1720,"depth":159,"text":1721},{"id":1771,"depth":159,"text":1772,"children":2790},[2791,2792],{"id":1775,"depth":189,"text":1776},{"id":1820,"depth":189,"text":1821},{"id":1917,"depth":159,"text":1918,"children":2794},[2795],{"id":2000,"depth":189,"text":2001},{"id":2010,"depth":159,"text":2011,"children":2797},[2798,2799],{"id":2014,"depth":189,"text":2015},{"id":2044,"depth":189,"text":2045},{"id":2731,"depth":159,"text":2732},{"id":2742,"depth":159,"text":2743},"updates","2026-11-26","WebGPU grows up! A recap of November 2026 - TSL composables in @tresjs\u002Fcore, a WebGPU EffectComposer with six effects, ContactShadows, transmission, portal and reflection materials on WebGPU, and better automatic colliders in Rapier.",false,"md",{},"\u002Fblog\u002Fwhats-new-november-2026","---\ntitle: \"The Loop Chronicles: November 2026 Recap\"\nauthor: alvarosabu\ncategory: updates\ndate: 2026-11-26\ndescription: WebGPU grows up! A recap of November 2026 - TSL composables in @tresjs\u002Fcore, a WebGPU EffectComposer with six effects, ContactShadows, transmission, portal and reflection materials on WebGPU, and better automatic colliders in Rapier.\ndraft: false\nreadingTime:\n  text: 9 min read\n  minutes: 8.265\n  time: 495900\n  words: 1653\nthumbnail: \u002Fblog\u002Fwhats-new-november-2026\u002Fthe-loop-chronicles-november-2026.png\n---\n\nYo! Welcome back to **The Loop Chronicles** 🍂. Last month WebGPU got its own entry `@tresjs\u002Fcore\u002Fwebgpu`. This month it got the tools to build real scenes: TSL composables in core, a WebGPU `EffectComposer` with six effects, and the four big Cientos components that were missing on WebGPU. Let's go 🚀.\n\n## TSL composables are here\n\nIn October we said they were in review. Now they ship in `@tresjs\u002Fcore@5.11.0` ([#1545](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1545)). `@tresjs\u002Fcore\u002Fwebgpu` has a set of **experimental** composables for TSL work:\n\n::prose-list\n- **`useUniforms`** **and** **`useUniform`** bind plain values, refs, getters or Tres Leches controls to TSL uniforms. A change writes `uniform.value`. There is no graph rebuild and no shader recompile.\n- **`useNodes`** shares node graphs (noise, functions, varyings) between components in the same canvas. The graph is built once.\n- **`useLocalNodes`** builds the graph of one component from the shared uniforms and nodes. It rebuilds only when the structure changes.\n- **`useRenderPipeline`** renders the canvas through three's `RenderPipeline`, for post-processing on WebGPU.\n::\n\nThe rule to remember: **a value goes in a uniform, a structure change goes through a rebuild**. If a prop changes a color, a strength or a speed, put it in a uniform:\n\n```vue\n\u003Cscript setup lang=\"ts\">\nimport { useLocalNodes, useUniforms } from '@tresjs\u002Fcore\u002Fwebgpu'\nimport { useControls } from '@tresjs\u002Fleches'\nimport { color, mix, positionLocal, sin, time } from 'three\u002Ftsl'\n\nconst { tint, speed } = useControls({\n  tint: '#82dbc5',\n  speed: { value: 1, min: 0, max: 5 },\n})\nconst { uTint, uSpeed } = useUniforms({ uTint: tint, uSpeed: speed })\n\nconst { colorNode } = useLocalNodes(() => ({\n  colorNode: mix(\n    color('#fbb03b'),\n    uTint,\n    sin(time.mul(uSpeed).add(positionLocal.y.mul(4))).mul(0.5).add(0.5),\n  ),\n}))\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CTresMesh>\n    \u003CTresTorusKnotGeometry :args=\"[0.6, 0.2, 128, 32]\" \u002F>\n    \u003CTresMeshStandardNodeMaterial :color-node=\"colorNode\" \u002F>\n  \u003C\u002FTresMesh>\n\u003C\u002Ftemplate>\n```\n\nMove the sliders: the color and the speed change, and the material does not recompile. In `on-demand` render mode, a change from a ref or a getter requests a new frame.\n\nEach canvas has one store for uniforms, nodes and passes. Use a scope name to keep entries apart, for example `useUniforms({ uHealth: 100 }, 'player')`. The API can still change in a minor release. Everything is in the [TSL composables guide](https:\u002F\u002Fdocs.tresjs.org\u002Fapi\u002Fadvanced\u002Ftsl-composables).\n\n## Post-processing on WebGPU\n\n`@tresjs\u002Fpost-processing` has a new `\u002Fwebgpu` entry, built on `useRenderPipeline`. It came in three steps:\n\n::prose-list\n- **`EffectComposer`** **and** **`defineEffect`** ([#1554](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1554), 3.12.0). The composer chains TSL effects as Vue components, in slot order.\n- **HDR and LDR stages** ([#1557](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1557), 3.13.0). HDR effects run before tone mapping, LDR effects run after it. So FXAA, SMAA and film grain get display colors.\n- **Six effects** ([#1564](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1564), 3.14.0): `Bloom`, `ChromaticAberration` and `DepthOfField` in the HDR stage, `FXAA`, `SMAA` and `Film` in the LDR stage.\n::\n\n```vue\n\u003Cscript setup lang=\"ts\">\nimport { TresCanvas } from '@tresjs\u002Fcore\u002Fwebgpu'\nimport { Bloom, EffectComposer, SMAA } from '@tresjs\u002Fpost-processing\u002Fwebgpu'\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CTresCanvas :antialias=\"false\">\n    \u003C!-- Your scene -->\n\n    \u003CEffectComposer>\n      \u003CBloom :strength=\"1\" :threshold=\"0.8\" \u002F>\n      \u003CSMAA \u002F>\n    \u003C\u002FEffectComposer>\n  \u003C\u002FTresCanvas>\n\u003C\u002Ftemplate>\n```\n\nThe stage wins over the slot order: `\u003CSMAA \u002F>` before `\u003CBloom \u002F>` still runs bloom first. In development, the composer warns once when an LDR effect comes before an HDR effect.\n\nA prop change writes a uniform, so it does not rebuild the graph. An add, a remove or a reorder (`v-if`, `v-for`) builds the graph again and compiles a new shader. To switch an effect on and off often, set a prop such as `amount` to `0` instead.\n\n### Write your own effect\n\n`defineEffect` returns a Vue component. Each prop becomes a uniform with the same name:\n\n```ts\nimport { defineEffect } from '@tresjs\u002Fpost-processing\u002Fwebgpu'\nimport { vec4 } from 'three\u002Ftsl'\n\nconst Posterize = defineEffect({\n  name: 'Posterize',\n  stage: 'ldr',\n  props: { levels: 4 },\n  create: (input, { uniforms }) =>\n    vec4(input.rgb.mul(uniforms.levels.sub(1)).round().div(uniforms.levels.sub(1)), input.a),\n})\n```\n\n::prose-note\n`@tresjs\u002Fpost-processing\u002Fwebgpu` needs `three` r183 or newer and `@tresjs\u002Fcore` 5.11 or newer. The prop names and defaults follow the three TSL nodes, not the WebGL components. For example, `DepthOfField.focusDistance` is in world units, but `DepthOfFieldPmndrs.focusDistance` is a normalized depth. Each effect page lists the differences.\n::\n\nThe full API is in the [WebGPU post-processing guide](https:\u002F\u002Fpost-processing.tresjs.org\u002Fapi\u002Fwebgpu).\n\n## Cientos: the big four on WebGPU\n\nIn October, `ContactShadows`, `MeshTransmissionMaterial` and `MeshPortalMaterial` were on the \"not ported yet\" list. In `@tresjs\u002Fcientos@5.13.0` they work on WebGPU, and `MeshReflectionMaterial` came with them. Same names, same props, you only change the import path:\n\n```ts\nimport {\n  ContactShadows,\n  MeshPortalMaterial,\n  MeshReflectionMaterial,\n  MeshTransmissionMaterial,\n} from '@tresjs\u002Fcientos\u002Fwebgpu'\n```\n\n::prose-list\n- **`ContactShadows`** ([#1568](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1568)) renders into a generic `RenderTarget` and blurs with TSL node materials. It is the base for `Stage` and `SoftShadows` on WebGPU.\n- **`MeshTransmissionMaterial`** ([#1565](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1565)) extends `MeshPhysicalNodeMaterial` and mixes the refracted samples in through `backdropNode`.\n- **`MeshPortalMaterial`** ([#1567](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1567)) uses a TSL window material. The `blend` cross-fade works on WebGPU and on the WebGL2 fallback.\n- **`MeshReflectionMaterial`** ([#1569](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1569)) extends `MeshStandardNodeMaterial`. Blur, depth and distortion are uniforms, so switching them on or off does not remount the material.\n::\n\nThese four use FBOs, so `useFBO` and `Fbo` in `@tresjs\u002Fcientos\u002Fwebgpu` now create a generic `RenderTarget` ([#1556](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1556), 5.12.0). The props and options do not change, but the `\u002Fwebgpu` `useFBO` now returns `Ref\u003CRenderTarget | null>`. On a WebGPU canvas, `samples: 1` logs a warning, because it slows three r186 to about 1 fps.\n\nEach WebGPU port shares one shell with its GLSL version (`useContactShadows`, `useMeshReflectionMaterial`...), so both renderers get the same fixes from now on. The list of what is still GLSL only is in the [Cientos WebGPU guide](https:\u002F\u002Fcientos.tresjs.org\u002Fgetting-started\u002Fwebgpu).\n\n## Core: extend learns two tricks\n\n`@tresjs\u002Fcore@5.12.0` gives `extend` two options for libraries that ship classes through it.\n\n**A default** **`attach`** ([#1558](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1558)). Materials, geometries and fog attach to their parent automatically. Other classes that are not an `Object3D` needed an `attach` prop. Now the class can bring its own:\n\n```ts\nimport { extend } from '@tresjs\u002Fcore'\nimport { FollowBody } from 'some-camera-library'\n\nextend({\n  FollowBody: {\n    object: FollowBody,\n    attach: (parent, child) => parent.setBody(child),\n  },\n})\n```\n\n`\u003CTresFollowBody \u002F>` now attaches itself. An `attach` prop still overrides the default.\n\n**Props that Tres assigns** ([#1560](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1560)). When you changed `:target=\"pointA\"` to `:target=\"pointB\"`, Tres wrote the values of `pointB` into `pointA`. Your `pointA` changed without you asking. Now Tres assigns `pointB`, and `pointA` keeps its values. Arrays and color strings go into a clone that Tres owns. For a value that came from `args`, list the prop in `assign`:\n\n```ts\nextend({\n  Follower: {\n    object: Follower,\n    assign: ['target'],\n  },\n})\n```\n\nBoth are in the [Extending the catalogue guide](https:\u002F\u002Fdocs.tresjs.org\u002Fessentials\u002Fconcepts\u002Fextending-catalogue).\n\n## Rapier: colliders on the mesh, not on the origin\n\n`@tresjs\u002Frapier@1.5.0` puts automatic colliders on the centre of the mesh bounding box ([#1570](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1570)). Before, they sat on the mesh origin. A model with its origin at the base or at a corner (a typical Blender export) got a collider that floated next to it.\n\n::prose-list\n- Cuboid, ball and capsule colliders add the bounding-box centre to their position. The mesh rotation and scale apply to this offset.\n- A change of the `collider` prop recalculates the args and the position, not only the shape.\n- A group is measured in its own space, so its transform no longer applies twice.\n- `trimesh` and `convexHull` stay at the mesh origin, because their vertices already carry the offset.\n::\n\nSee [Automatic colliders](https:\u002F\u002Frapier.tresjs.org\u002Fapi\u002Frigid-body\u002Fautomatic-colliders) for the details.\n\n## Fixes worth knowing about\n\n### Core\n\n**`useLoop`** **priority works across components** ([#1559](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1559)). Priority sorted only the callbacks of one `useLoop()` call. So a camera rig with `priority: 100` in one component could still run before a mover with `priority: 0` in another. Now all `onBeforeRender` and `onRender` callbacks of a `TresCanvas` share one sorted list. Callbacks with the same priority run in the order of their `useLoop()` calls, as before.\n\n### Cientos\n\n::prose-list\n- **`MeshTransmissionMaterial`** **with** **`transmissionSampler`** ([#1566](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1566)). On `WebGLRenderer`, the mesh disappeared, because the sampler shader did not compile. Now it shows the scene through the mesh.\n- **`MeshReflectionMaterial`** **with two reflectors** ([#1569](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1569)). Two reflectors with the same props (a floor and a wall) showed the same reflection. Each one now compiles its own material. A texture map that you add after mount now shows too.\n::\n\n::prose-note\nSome fixes change how existing WebGL scenes look:\n- `MeshTransmissionMaterial`: the `transmission` and `backside` props now take effect. Before, `transmission` stayed at 1 and the back-face pass was overwritten.\n- `MeshPortalMaterial`: the `blend` cross-fade now applies tone mapping and the output color space. It looked too dark before.\n- `ContactShadows`: the blur now covers the full target, so the output changes a little when `width` or `height` is not 1.\n- `useLoop`: apps that use different priorities in different components can see a different callback order.\n- `extend`: a prop change no longer writes into your previous object. If your code relied on that, assign the values yourself.\n::\n\n## Everything in sync\n\nThese are the latest versions:\n\n::prose-list\n- **`@tresjs\u002Fcore@5.12.0`**\n- **`@tresjs\u002Fcientos@5.13.0`**\n- **`@tresjs\u002Fnuxt@5.10.0`**\n- **`@tresjs\u002Fpost-processing@3.14.0`**\n- **`@tresjs\u002Frapier@1.5.0`**\n- **`@tresjs\u002Fleches@1.3.3`**\n::\n\n```bash\npnpm up @tresjs\u002Fcore @tresjs\u002Fcientos @tresjs\u002Fnuxt @tresjs\u002Fpost-processing @tresjs\u002Frapier @tresjs\u002Fleches\n```\n\n### 👉 Full Release Notes\n\n:read-more{icon=\"i-lucide-scroll-text\" title=\"Full Release Notes\" to=\"https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Freleases\"}\n\n## From the community\n\n### Andrés Salazar's portfolio\n\n![Andrés Salazar portfolio](\u002Fshowcase\u002Felsalaz\u002Felsalaz.png)\n\n:magic-link{label=\"Andrés Salazar\" to=\"https:\u002F\u002Fx.com\u002FDevSalaz\"} is a creative developer from Colombia. Their [portfolio](https:\u002F\u002Felsalaz.xyz\u002F) is built with TresJS and collects their interactive experiences, games and websites, plus their experiments. It is the newest entry in our [showcase](\u002Fshowcase). Go and play with it 🇨🇴.\n\n### Klipp\n\n[Klipp](https:\u002F\u002Fpmndrs.github.io\u002Fklipp) is a camera toolkit for the web from [pmndrs](https:\u002F\u002Fgithub.com\u002Fpmndrs), made by :magic-link{label=\"Łukasz Kwas\" to=\"https:\u002F\u002Fgithub.com\u002Fkvvasuu\"} and inspired by Unity Cinemachine. You describe shots as virtual cameras, and Klipp picks the one with the highest priority and blends between them.\n\n[`@pmndrs\u002Fklipp@0.19.0`](https:\u002F\u002Fgithub.com\u002Fpmndrs\u002Fklipp\u002Freleases\u002Ftag\u002Fv0.19.0) adds initial support for TresJS, in a new `@pmndrs\u002Fklipp\u002Ftres` entry ([#161](https:\u002F\u002Fgithub.com\u002Fpmndrs\u002Fklipp\u002Fpull\u002F161)). We worked on it together with the pmndrs folks ([#159](https:\u002F\u002Fgithub.com\u002Fpmndrs\u002Fklipp\u002Fpull\u002F159)), and it is a lot of fun to see a pmndrs library speak Vue 💚. This first version has `\u003CKlipp>`, `\u003CVirtualCamera>`, `Body.Follow`, `Aim.HardLookAt` and the `useKlipp` and `useVirtualCamera` composables:\n\n```vue\n\u003Cscript setup lang=\"ts\">\nimport { Aim, Body, Klipp, VirtualCamera } from '@pmndrs\u002Fklipp\u002Ftres'\nimport type { Mesh } from 'three'\nimport { shallowRef } from 'vue'\n\ndefineProps\u003C{ cutscene: boolean }>()\n\nconst capsuleArgs: [number, number, number, number] = [0.4, 1, 8, 16]\nconst followOffset: [number, number, number] = [0, 3, 8]\nconst cutsceneOffset: [number, number, number] = [-6, 1, 3]\n\nconst player = shallowRef\u003CMesh>()\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CTresPerspectiveCamera :fov=\"50\" \u002F>\n  \u003CTresMesh ref=\"player\">\n    \u003CTresCapsuleGeometry :args=\"capsuleArgs\" \u002F>\n    \u003CTresMeshNormalMaterial \u002F>\n  \u003C\u002FTresMesh>\n\n  \u003CKlipp>\n    \u003CVirtualCamera name=\"follow\" :priority=\"10\">\n      \u003CBody.Follow :target=\"player\" :offset=\"followOffset\" :damping=\"0.5\" \u002F>\n      \u003CAim.HardLookAt :target=\"player\" \u002F>\n    \u003C\u002FVirtualCamera>\n\n    \u003CVirtualCamera name=\"cutscene\" :priority=\"20\" :active=\"cutscene\">\n      \u003CBody.Follow :target=\"player\" :offset=\"cutsceneOffset\" :damping=\"0.3\" \u002F>\n      \u003CAim.HardLookAt :target=\"player\" \u002F>\n    \u003C\u002FVirtualCamera>\n  \u003C\u002FKlipp>\n\u003C\u002Ftemplate>\n```\n\nTurn on `cutscene` and the camera blends to the second shot. Turn it off and it blends back. Klipp needs `@tresjs\u002Fcore@5.12.0` or newer, because it runs its update last with a high `useLoop` priority, and that only works across components since [#1559](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fpull\u002F1559). The other Bodies, Aims, extensions and `KlippControls` are next.\n\n## Thanks\n\nThank you to [Andrés Salazar](https:\u002F\u002Felsalaz.xyz\u002F) for sharing their portfolio with us, and to everyone who opened an issue or tested the WebGPU entries this month 🙌. Your reports shaped what landed.\n\n## Coming next\n\nThe WebGPU entries grow one component at a time. Next on the list: `Stage` and `SoftShadows` on top of the new `ContactShadows`, and more effects for the WebGPU composer. If there is a component or an effect you need on WebGPU, [tell us](https:\u002F\u002Fgithub.com\u002FTresjs\u002Ftres\u002Fissues).\n\nGot something cool built with Tres? Share it in our [Discord](https:\u002F\u002Fdiscord.gg\u002FUCr96AQmWn). It might headline the next *Loop Chronicles*.\n\nHappy crafting ✌️.\n",{"text":2811,"minutes":2812,"time":2813,"words":2814},"9 min read",8.09,485400,1618,{"title":5,"description":2804},"blog\u002Fwhats-new-november-2026","\u002Fblog\u002Fwhats-new-november-2026\u002Fthe-loop-chronicles-november-2026.png",null,"M64I65fR9jpfo-taxOP5UUlN7bz-2z8Pnagfk-TzGcU",{"id":2821,"title":2822,"avatar":2823,"body":2824,"description":124,"email":2828,"extension":2806,"github":6,"meta":2829,"name":2833,"navigation":246,"path":2834,"seo":2835,"slug":6,"stem":2836,"twitter":6,"website":2837,"__hash__":2838},"authors\u002Fauthors\u002Falvarosabu.md","Alvarosabu","\u002Favatars\u002Falvarosabu.png",{"type":8,"value":2825,"toc":2826},[],{"title":124,"searchDepth":159,"depth":159,"links":2827},[],"hola@alvarosaburido.dev",{"readingTime":2830},{"text":2831,"minutes":2832,"time":2832,"words":2832},"0 min read",0,"Alvaro Saburido","\u002Fauthors\u002Falvarosabu",{"description":124},"authors\u002Falvarosabu","https:\u002F\u002Falvarosaburido.dev","CmwieKa4qc2RGTVr4mry8wF-8Mb9vtJoJrhpP_Qz5kk",{"id":4,"title":5,"author":6,"body":7,"category":2802,"date":2803,"description":2804,"draft":2805,"extension":2806,"meta":2807,"navigation":246,"path":2808,"rawbody":2809,"readingTime":2810,"seo":2815,"stem":2816,"thumbnail":2817,"url":2818,"__hash__":2819,"authors":2840},[2841],{"name":2833,"description":2842,"avatar":2843,"to":2837,"target":2844},"@alvarosabu",{"src":2823},"_blank",1796028796845,"0877c052-0785-4546-b354-286d1e06d272"]