mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

857
active users

#webgpu

1 post1 participant0 posts today

First render after rewriting my toy engine from Vulkan to #WebGPU. And I'm awestruck, again.

It's upside down, GUI is missing, shadow map is buggy. But it's not a black screen. In fact, most things work well on the first render.

When I wrote 3D in C++, black screens and crashes were quite common. C++ tells you how you _can_ use an API, but #rust tells you how you _should_. And the validation checks of both #wgpu and #vulkano are awesome.

When matsuoka-601 dropped his WebGPU fluid simulation demos, they left everyone in awe—pushing the limits of what's possible in the browser with breathtaking realism and incredible performance. 💦

Now, he's been kind enough to take us behind the scenes, breaking down the magic behind the mesmerizing waves, high-performance physics, and real-time rendering!

Read it here: tympanus.net/codrops/2025/02/2

had to debug a vertex buffer today and I found that setting the descriptor to point-list instead of triangle-list was incredibly useful. it showed I had a few extra points plotted out that didn't make a full tri.

in #WebGPU the point is only 1px large so it can be hard to see, but better than nothing for sure.

I couldn't continue with #Genuary since I felt a bit overwhelmed, so I will do it during the year. Kind of stressed when I only wanted to have fun. The final nail in the coffin was the fact that I was trying to allocate 800x800 values in memory in #WebGPU, nothing that I haven't done before, but I'm now on #LinuxMint and is not great all the time. The GPU crashed and the computer got frozen for like 5 mins.

Genuary 5: Isometric Art (No vanishing points).

Made with #WebGPU

A raymarched cube spinning and being clipped.

This one was really hard because I have no idea how to make the ortho camera here, but managed to do it and it kind of works.

#genuary2025 #genuary #genuary5
#generativeart #creativecoding #genart #webgl #wgsl #abstract #abstractart #digitalart #animation #mograph #motiongraphics #isometric #math #mathart #javascript #surrealism #surrealart #shader #loop #cgi #sdf #raymarching