Show HN: Unreal Engine 5 in WebGPU
twitter.com
twitter.com
Here's a link to where you can try out the demo. Feedback is much appreciated!
Edit: Tried again in Chrome, the game loaded after awhile, but no 3d geometry rendered. I had a HUD with crosshairs, scoreboard, ammo. The game said it started. I could see another players name moving around, and responding to my cursor movements as if I was supposed to be in a 3d environment. Clicking when my mouse was a bit below their name seemingly killed them (or maybe that was a coincidence). But this was all just on top of a black screen.
On a M1 mac if that helps at all.
Also, you're right about the loading screen for unsupported browsers, that is something we will add ASAP. Thanks again!
> The chrome://flags/#enable-unsafe-webgpu flag must be enabled (not enable-webgpu-developer-features). Linux experimental support also requires launching the browser with --enable-features=Vulkan.
Nightly Firefox should have it already.
https://github.com/gpuweb/gpuweb/wiki/Implementation-Status#...
Chrome: Failed to load resource: the server responded with a status of 403 ()
At one point, UE had an option to build for HTML5, which was later deprecated and offloaded to a community fork [1] which was abandoned. So I thought it'd never happen. Well done!
Plot twist: people stop writing casual games in Unity and switch to Unreal to target low-end hardware.
Needless to say: as someone who spent my teens and early 20s working on multiplayer web games, I'm incredibly excited for this.
Unreal is free, per project, until that specific project has earned over $1M in revenues.
I’d hazard a guess that WebGPU is going to usher in a new golden era of browser games, especially now that features such as compute shaders are on the table.
https://dgerrells.com/blog/how-fast-is-javascript-simulating... From the blog post:
> This version can hit 20m particles on on M1 mac at around 20fps on battery life. That is pretty crazy for pure javascript. My desktop can do about 30m at the same fps. I asked a friend who had a 32 core CPU to test it and they hit about 40m which is almost enough to fill five 4k displays.
Having a full engine toolkit at my disposal with mature sytems for geometry, physics, particles, templating etc would make me much more productive than having to write the shaders myself, even if the engine has some overhead.
My comment above was a wish list, I know I'm asking for a lot, but I make scientific visualization software so I like to push at the edge!