4 ms·
Nicely built resource, found a couple of nits but pretty good starting point. Although I feel like unless you need to specifically target web or extensive cros
by minraws 3mo ago
Nicely built resource, found a couple of nits but pretty good starting point.
Although I feel like unless you need to specifically target web or extensive cross platform support, a better alternative for a higher level framework/library is nvrhi. Especially for C++ developers.
And I feel like if you are making for cross platform or web you are likely using Rust or writing your own game engine/library maybe I view of the ecosystem is skewed.
- reactordev 3mo agonvrhi is pretty freaking awesome but it doesn’t work on Mac. WebGPU can using Metal, nvrhi would need MoltenVK layer on Mac. Other than that, yes nvrhi
- minraws 3mo agoI mean it officially works with MoltenVK on Mac, they have been open to accepting fixes and patches regarding Apple/Mac specific stuff. So I don't think the won't work on Mac argument works. But it's definitely not very mobile devices ready, you can get it to work though.
- ChadNauseam 3mo agonvrhi looks really cool. However, I think the vast majority of use cases today do target web. The main exception is software which is too big to be quickly downloaded. Almost all other software benefits so much from web distribution that it's crazy not to do it. For example, in another comment I shared the game I made with webgpu. Because it's a website, someone here may play it. If you had to download a binary instead, I don't think anyone here would give it a try.
- minraws 3mo agoTo be frank a vast majority of webgpu projects are going to require fairly massive download sizes, even moderately large games or things that could truly utilize webgpu over webgl2 which are much more widely available on devices. I feel like at the moment the kinds of things webgpu is good for unless it has to be a website it's better done with a native library. Because otherwise webgl2 is much more broadly available for broadly supported platform set.
- jcelerier 3mo agoNvrhi sadly doesn't support metal. I use QtRhi and that gives metal, d3d11/12, Vulkan, OpenGL and even works on wasm