Re:Show HN: Unreal Engine 5 in WebGPU
by malux85 on Tuesday July 09, 2024 @01:52PM
(#40918942)
This is awesome, I love using 3D engines for visualisation and I’m already writing my own GPU shaders to visualise electron density grids for example - having a high performance runtime I can hook into would be such a big help. Especially if it had a high performance (60fps+) particle system that can handle 10s millions particles
[ Parent
| on HN ]
Press X for doubt that you can run 10s millions of particles in unreal on the browser.
If you use shaders and are smart about GPU data structures you can do it, I have got 5-6 million particles running smoothly (60fps) in my own testing which is just a hacky weekend mash with no optimization, here's a blog post of someone who went into detail on something similar here:
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!
I’m sorry, I am dumb.
Re:Show HN: Unreal Engine 5 in WebGPU
by moonmagick on Tuesday July 09, 2024 @02:44PM
(#40919439)
If it’s fully on GPU that should be tenable, regardless of browser or not