4 ms·
> WebGPU is years away to become usable As a counterpoint, I've been using WebGPU (through wgpu-rs) for the past 1.5 years. It's been a pleasure to use. For in
by jms55 5y ago
> WebGPU is years away to become usable
As a counterpoint, I've been using WebGPU (through wgpu-rs) for the past 1.5 years. It's been a pleasure to use. For instance, here's the CPU-side code for a glow post-process shader using 4 render passes https://github.com/JMS55/sandbox/blob/master/src/glow_post_process.rs https://github.com/JMS55/sandbox/blob/master/src/glow_post_p....
- pjmlp 5y agoIt isn't the browser and WGSL is half way specified.
- dangerbird2 5y agoBut as far as a OpenGL replacement on native, it absolutely is.
- pjmlp 5y agoMiddleware engines already solved that problem for about 20 years now, no need for WebGPU outside the browser.
- royjacobs 5y agoNot everyone wants to use existing engines. Or are you saying you want to embrace vendor lock-in in that regard?
- pjmlp 5y agoYes, definitly, that is the approach taken by AAA game studios. A plugin framework for 3D APIs is probably the easiest part to implement on a game engine, specially when API like OpenGL and Vulkan already require implementing one due to extension spaghetti.