Gray Matter Guerrilla replied to Valheim World Generator May 9, 2023 @ 2:23:46 am PDT
Makes sense. Thanks for explaining - marked as 'solution'.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.
11:13 am, May 9, 2023