Comment by pjmlp
Comment by pjmlp 6 months ago
To be fair neither are WebGL and WebGPU, versus the native API counterparts, the best you can get are shadertoy demos, and product visualisation on ecommerce sites.
Due to tooling, sandboxing and not having any control about what GPU gets selected, or why the browser blakckboxes it and switches into software rendering.
That's kinda untrue - there are games (not necessarily high end ones, but quite sophisticated ones nontheless).
The biggest issue is the API limitations that restrict you from doing things a certain modern way, and you have to use more mid 2000s techniques.
Here's a game that uses an Electron powered engine that uses Js and WebGL:
https://store.steampowered.com/app/1210800/Rum__Gun/