Replies: 6 comments 2 replies
-
Babylon does a good job of advertising their webGPU compatibility on their site. 3D game support would also be really cool for melon, I wonder if these two features could go hand in hand? |
Beta Was this translation helpful? Give feedback.
-
definitely, same as WebGL today ! |
Beta Was this translation helpful? Give feedback.
-
putting this here for later : https://github.com/gfx-rs/naga/ naga allows to convert GLSL to WSL, which would allows to automatically transpile the shader into what is required for WebGPU |
Beta Was this translation helpful? Give feedback.
-
we miss you on melonJS :) |
Beta Was this translation helpful? Give feedback.
-
I am really interested in webGPU support in melonJS. How much performance increase is upgrading WebGL 2 to use webGPU for a 2D game? |
Beta Was this translation helpful? Give feedback.
-
I honestly don't really expect a massive performance increase with WebGPU vs WebGL just for 2D rendering, but it's definitely a good way forward in terms of using a future-proof rendering method. Are you interested like in willing to help starting a first implementation, or just generally interesting in having melonJS supporting WebGPU ? |
Beta Was this translation helpful? Give feedback.
-
WebGPU is the working name for a future web standard and JavaScript API for accelerated graphics and compute, aiming to provide "modern 3D graphics and computation capabilities". It is developed in the W3C GPU for the Web Community Group with engineers from Apple, Mozilla, Microsoft, Google, and others.
few interesting readings :
https://hacks.mozilla.org/2020/04/experimental-webgpu-in-firefox/
https://webkit.org/demos/webgpu/
https://www.chromestatus.com/feature/6213121689518080
Beta Was this translation helpful? Give feedback.
All reactions