umop-apisdn replied to Valheim World Generator May 9, 2023 @ 2:21:27 am PDT

Originally posted by Gray Matter Guerrilla:
Originally posted by umop-apisdn:
If you pay attention when it loads, you'll notice the Valheim World Generator (the website at https://valheim-map.world ) runs on the Unity engine... just like Valheim does. This is pretty much required for the RNG to work out the same, thus allowing the site to actually follow the same proc-gen algorithm and show you the map that the actual game will generate, using the seed you input.

You're essentially running two games at once; of course it taxes your system a bit.
Hmmm...is the Unity optimization worse when running within a tab versus in-game? I assume so?

I ask because when I have both running (game + website) the temp does not increase anymore than when I just have the site running by itself (both scenarios push to 80C) - shouldn't it increase more so with both running?

Yes, running WebGL in a browser pushes your system much harder than running a GL, DX, or Vulkan renderer in a dedicated process; for starters, there's a whole system of hoops the browser has to jump through just to show you "active" graphics in the first place, whereas the dedicated executable can (in effect) "just do it" because that's what it's designed to do.

In addition, the browser has to use the GDI layer to display the graphics... where the game sidesteps that and interfaces directly with the GPU. The browser-based app is doing almost everything on the CPU, because it's not actually allowed to talk directly to the hardware (for system security reasons).
11:13 am, May 9, 2023
umop-apisdn 0 comments 0 likes