Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Unreal Engine 5 multi-threaded rendering in the browser with WASM (tiwsamples.com)
54 points by astlouis44 on April 3, 2024 | hide | past | favorite | 20 comments


"In the browser" - it's Chrome only.


"Best Viewed With Internet Explorer"


> In "The" browser


haha, I took a running leap off a staircase and fell over and was permanently embedded in the floor. 3rd person camera could still explore, though!

this is an amazing tech demo. not consistently playable on my 1st gen m1 mac, but still impressive as hell.


Yeah, it stutters like crazy on my 7950X+3080ti. Probably just limitations of the browser environment and not a problem with your m1.


I was wondering- because my CPU was only at 40%


For anyone interested, here are more demos of UE5 in the browser. Several use our new WebGPU backend:

https://simplystream.com/demos


> TypeError: WebGL2RenderingContext.bufferData: Argument 2 can't be an ArrayBuffer or an ArrayBufferView larger than 2 GB


Unplayable hitching on an M3 Max.


Does not work on Firefox, a bunch of errors eventually pop up in the console.


Just a black screen here. I'm guessing it requires webgpu?


Just wait a bit longer. I was thinking the same, and started to investigate thru DevTools, finding 403 for https://temple.tiwsamples.com/media/3e0ec554-aaab-403c-9b1e-..., but it seems that before app loads it should play some kind of video (which cant find) and after it complets this it loads the app (even on very old laptop)


It eventually worked in Chrome for me, but Firefox never did.


Chrome worked on the Mac, Safari didn't.


Did not work on chrome M1


Runs like shit, and keeps stalling as things load in, does WASM not have async loading?

Anyway nobody would play this because it took minutes to get to a playable state, and kept freezing, then eventually it just froze permanently.

I don't get the point of porting this kind of thing to the web, the web is a terrible platform for it.


Sometimes porting this stuff is a fun intellectual exercise, or sometimes it’s a version 1 precursor, or sometimes it allows for a much simpler setup to run super smoothly (e.g. a visualisation tool)

I find things like this fascinating, inspiring and interesting, all great things have small beginnings.


What a pessimistic way of trying a demo haha, the fact that a UE5 game can be ran in a browser is already impressive, performance is definitely something to work on, though.


I'm curious what the smallest build of a minimalist UE5 WASM game word be. A cursory googling indicates you could probably get a desktop x86 UE5 example project to an 80MB build. It might be hard to take advantage of UE5's advanced feature set if you need to cut back on assets for web. Not to mention the bandwidth costs for recurring users.

Sounds like an awesome project to work on though.


Very impressive.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: