Skip to content

Commit

Permalink
0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ontrigger committed Jul 2, 2021
1 parent 7d01a50 commit 99d6958
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Changes in 0.4.0

* Threaded terrain collision generation
* Threaded world loading
* Smoke rendering performance improvements
* Small memory allocation and performance improvements for chunk generation

# Changes in 0.3.1

* Fixed multiple crashes caused by logging out and back in into any world
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@

Rendering, logic, and loading time optimizations for both client and server versions of Valheim.

## New in 0.4.0

* Threaded terrain collision generation decreases stutters when loading chunks
* Smoke rendering performance improvements

## Stats

* 5-10 ms faster GPU render times in bases (3 fps without the mod -> 15 fps with)
* General game stability improvements - less stutters in bases
* Up to 20 second faster world loading times (excluding the first launch)
* 20+ seconds faster world loading times, especially for big worlds (excluding the first launch)
* General game logic performance improvements (no concrete data on framerates)

## Development Setup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public static bool Prefix(Heightmap __instance)
new Color[__instance.m_width * __instance.m_width]
: _clearColors);
__instance.ApplyModifiers();
Profiler.EndSample();

return false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using HarmonyLib;
using UnityEngine;

namespace ValheimPerformanceOptimizations
namespace ValheimPerformanceOptimizations.Patches
{
/// <summary>
/// Setting a MeshCollider sharedmesh is expensive because Unity has to bake it into its physics. It can be called
Expand Down
4 changes: 2 additions & 2 deletions ValheimPerformanceOptimizations/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.0.3.1")]
[assembly: AssemblyFileVersion("0.0.3.1")]
[assembly: AssemblyVersion("0.0.4.0")]
[assembly: AssemblyFileVersion("0.0.4.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace ValheimPerformanceOptimizations
{
[BepInPlugin(PluginId, "Valheim Performance Optimizations", "0.3.1")]
[BepInPlugin(PluginId, "Valheim Performance Optimizations", "0.4.0")]
public class ValheimPerformanceOptimizations : BaseUnityPlugin
{
public const string PluginId = "dev.ontrigger.vpo";
Expand Down

0 comments on commit 99d6958

Please sign in to comment.