matrix-org/thirdroom

webgpu for web and native

gedw99 opened this issue · 2 comments

I am using webgpu for web and native.

I was wondering if there is interest in this ?

The WASM runners can easily be integrated client side

Not sure exactly what you mean by this? We would like to write a WebGPU renderer at some point, but it's quite a bit of work. We likely would not use WASM for this.

i am using this: https://github.com/rajveermalviya/go-webgpu.
Its using a rust webgpu lib and its quite fast.

https://github.com/rajveermalviya/gamen is the window layer.
Works on web, desktop and native. For web its wasm of course.

Golang has 2 different compilers for compiling to wasm. Tinygo and go. go 1.21.1 will have compliant WASI. There is now work towards WASIX also.

I am writing a 2D Scene graph for it, so you can describe forms, text, lists, scrolling with it.

But the idea i have was that the third room scene graph could be the 3d scene graph.
doc: https://thirdroom.io/docs/guides/websg/