That's very nice, but... why WebGL2 instead of WebGPU?
Having tried WebGPU recently, it still isn't at a point where it can be relied upon on all platforms.
Notably I have to use Chrome on Linux because Firefox doesn't provide it out of the box. It still crashes a fair bit on Chrome.
WebGPU still isn’t supported on Linux (Brave or Firefox, in my tests)
WebGL2 runs on toasters.
Why do you need WebGPU when WebGL2 is enough?
[dead]
Having tried WebGPU recently, it still isn't at a point where it can be relied upon on all platforms.
Notably I have to use Chrome on Linux because Firefox doesn't provide it out of the box. It still crashes a fair bit on Chrome.