Andrea Gargaro (@agargaro_dev) header
Andrea Gargaro (@agargaro_dev) profile picture

Uncreative developer

Santeramo in Colle, Puglia
Joined November 2023
Photo by Andrea Gargaro (@agargaro_dev)Photo by Andrea Gargaro (@agargaro_dev)Photo by Andrea Gargaro (@agargaro_dev)Photo by Andrea Gargaro (@agargaro_dev)Photo by Andrea Gargaro (@agargaro_dev)Photo by Andrea Gargaro (@agargaro_dev)Photo by Andrea Gargaro (@agargaro_dev)Photo by Andrea Gargaro (@agargaro_dev)Photo by Andrea Gargaro (@agargaro_dev)Photo by Andrea Gargaro (@agargaro_dev)
Andrea Gargaro retweeted
trying to get that perfect ps2/gc look in blender, I fucking love the compositor here, especially with code-made nodes so I don't have to fiddle with that much UI
5
7
66
1,346
Andrea Gargaro retweeted
Getting volumetric fog working in three-gpu-pathtracer! It could use some kind of density noise, but that will come with custom materials in the future😶‍🌫️ gkjohnson.github.io/three-gp…
4
10
100
4,134
To run my demos smoothly, I needed the best LOD thresholds with meshoptimizer. So I built a tool that also writes InstancedMesh2 code. 5,000 animated characters: 76M → ~500K triangles. More to come, ideas and criticism welcome! Link below 👇 #threejs #webgl #webgpu #gamedev
14
11
2
145
5,999
Try it here, also with your own models: agargaro.github.io/simplify-…
3
372
Andrea Gargaro retweeted
I’ve finally had a bit of time over the last few days to finish this duck project 🦆 It’s been made using #threejs (webgpu only) and #Claude I hope you like it! 🫶 ah-nah-trah.emmelleppi.me/
15
12
5
147
8,046
Bone Animation Textures are now in InstancedMesh2 🦴 Skeletal clips are baked once into a GPU texture, and every instance plays its own clip, speed and crossfade. No per-frame CPU animation. 10,000 skinned monsters, WebGL, WebGPU. Link in the next post. #threejs #WebGPU #WebGL
15
15
3
178
10,744
The demo is live! It still needs some optimization but it's a good start. Add ?debug=true for stats and controls. Demo: instanced-mesh-showcase.verc… Code: github.com/agargaro/instance…
1
11
785
Far LODs cost less: reduceSkinInfluences drops bones within a pixel of error, and the smallest levels read the nearest baked frame instead of blending two. The previous clip is only read while a crossfade runs.
2
465
Andrea Gargaro retweeted
this is kinda nice, if a bit overkill. Maybe the flu speaking, but I love html-in-canvas because it enables weird stuff like this
10
2
1
96
2,562
Play it in your browser (desktop and mobile): instanced-mesh-showcase.verc…
2
2
405
How it works: • 4 LODs simplified at runtime with meshoptimizer • BVH for culling and raycasts (0.2 ms vs 90 ms linear) • sub-pixel culling with onFrustumEnter • flame, smoke, sparks and lasers in one InstancedMesh2 • same API on WebGPURenderer and WebGLRenderer
1
3
257
After a month of work, InstancedMesh2 now supports WebGPURenderer 🎉 250,000+ asteroids, WebGPU and WebGL: runtime LODs, BVH frustum culling and per-instance raycasting. Fly through the field and blast some rocks 🚀 #threejs #webgl #webgpu
9
7
3
82
5,706
Andrea Gargaro retweeted
Working on new examples and showcases for the InstancedMesh2 docs. First up: a friendly robot army showing off instanced skinning + per-instance culling! Built with @threejs. Robots by @KayLousberg. #threejs #webgl #gamedev
4
2
3
196
Today I started rewriting InstancedMesh2 to make it compatible with WebGPURenderer. InstancedMesh2 has been used more widely than I expected, and I’m grateful to you all. #threejs
3
31
1,373
My best friend @LuigiDenora’s enthusiasm after the three.js conf convinced me to get back to my open-source projects. I’ll use AI sparingly, so progress may be slow, but I’m really happy to be working on this again. Repo + findings soon.
1
1
1
9
404
Thanks to @mrdoob, three-gpu-pathtracer now includes a drag-and-drop viewer for binary glTF files 🚀 I've added a link to the viewer in the repo! #threejs #webgl #raytracing
1
7
87
9,042
Andrea Gargaro retweeted
Applying dietsprite to a generated octahedral impostor to reduce overdraw, will have to test with a bunch of instances to see how much impact this has #threejs
9
37
1
725
39,657
Andrea Gargaro retweeted
With WebGPU, AAA graphics on the web isn’t a dream anymore. Devs just need native-grade tools. That’s why I’m building Three.js Plus. Today I added GPU culling. Here 5M PBR cubes distributed in <10ms on a convex geo, running at 120fps thanks to object culling & indirect draws.
Today’s work reminded me: tossing more OSS into the void isn’t it. Too often it fades without support. So instead, I’m putting care into how I share, bundling the code I use daily at @utsuboco into Threejs Plus: advanced, always-up-to-date WebGPU-first components. 1/4
20
58
3
585
44,336
Andrea Gargaro retweeted
I did something → samsy.ninja Sound on & bring friends with you. Open to new opportunities. WebGPU @threejs
50
64
15
524
46,714