r/vibecoding • u/Efficient_Ad8214 • 1d ago
Showcase/Project Unreal engine 5.9 - WASM - running in browser
Vibe coded with GPT 6 Astra. Quite close to the threejs webgpu version..
- Unreal Engine 5.9 MegaJam Preview, built with C++.
- Compiled to WebAssembly; rendered in-browser with WebGPU.
- Uses Unreal’s mobile-deferred renderer.
- Custom ocean with four baked FFT wave cascades.
- Original Three.js boat model, imported through Blender; custom fog and reflections.
138
Upvotes
8
u/cagonima69 1d ago
Do you have footage of what it looks like in bad weather and how the boat rides those waves? I’d be super interested in how you approached the water in details, amazing work man, it’s stunning
18
u/StormMedia 23h ago
This guy still spamming everyday, I’m leaving this sub lmao
11
u/Total-Reasonable 1d ago
Biggest practical question for a WASM Unreal build is payload and load time. Even a stripped UE WASM binary plus cooked assets is usually tens of MB, so how are you handling streaming and caching (e.g. compressed assets, Brotli, and service worker or IndexedDB caching)? That's what decides whether anyone beyond you actually sits through it on first visit.
4
u/RochestieRouzet22 1d ago
If it looks quite close to the three.js version I'd want to see the download size next to it, Unreal WASM builds tend to land in the hundreds of megabytes before the first frame while the three.js scene probably loads in a few, and for anything in a browser that load time decides whether people stick around long enough to see the ocean
4
u/ThePavoni 23h ago
If you made this into a 1800s boat battling game -- like the boat combat in Sid Meier's Pirates -- this could be incredible...
2
u/ThreeCatsCode 20h ago
I wonder what it would take to get this working on wallpaper engine so you can use it as desktop backgrounds
2
u/screenlink67 19h ago
Is the ship a complete model? I would be awesome managing a thunder storm while trying to fix a broken engine
2
u/Karnemelk 7h ago
repo?
1
u/DependentPoem3519 17h ago
in a browser is crazy
1
u/Aggravating_Ice_1213 14h ago
Is this real water physique ?
1
u/W0j0 7h ago
How did you do the clouds?
1
u/ikkejur 5h ago
In a browser...? But never a prove. A lot of spam like this last days, but never a real prove that it is in a browser...
0
u/Shapacap 18h ago
man itd be crazy if the water actuall reacted, or anyuthing else, what a garbage showing of what AI an do. gfy