
The user rarely interacts with the 3D scene and when he does it's only about adjusting the camera like rotating or zooming the view. Be warned that the game might be unstable while using these commands therefore test them using a "test" world and character.I'm developing a 3D visualization tool based on Unity, targeting WebGL. Note: Make sure you only use one API at a time when launching the game. Simply add them the same way as shown above and test for performance. If all else fails here's a list of different Launch Options you can try that change the rendering API. The API the game is currently using should appear near the GfxDevice line. At the main menu screen Left click "Show Player.log" at the bottom left of the screen. If you want to confirm what rendering API the game is currently using then follow these steps. Under Launch Options type this command: -force-vulkan.If you are not seeing this option when you launch the game then you can enable Vulkan with these steps. The game should launch using the Vulkan API. Check "Play Valheim using Vulkan" and then Left Click play. Launch Valheim and this option should appear. If after enabling Vulkan your fps is better than enabling exclusive fullscreen mode without Vulkan, then ignore this note, else use the default "Play Valheim" option when you launch the game and the exclusive fullscreen fix above. Note: Exclusive fullscreen mode is not supported for Valheim using Vulkan at the moment. The new rendering API recently added to Valheim called Vulkan can improve performance over the Direct3D counterparts on some systems. Note: These steps should work with other Unity Engine games that have the same fullscreen issue. The game should remember to be in exclusive fullscreen mode but you may have to redo the steps every time you relaunch the game. If you change your screen's resolution in game or alt tab out, the fix may break and you have to do it all over again. Only after I did these steps did the fix start working for my setup. The game should now be using exclusive fullscreen mode and the fix is in effect. Note: This should bring the game from it's windowed state to a true exclusive fullscreen mode. Note: This should put the game in a windowed state. Once at the main menu screen press Alt and Enter.Note: The game should start in borderless windowed fullscreen mode with no fps improvements. Launch the game with both of the previously mentioned launch options enabled.If nothing changed follow these next set of steps. This fix did not work for my setup again. For some people this is all you need to enable the fix. The game should be using "true" fullscreen mode.


Now Launch the game and see if your fps has improved.

