Add Fix Custom FPS Render Timing Option

This commit is contained in:
copecone committed 2026-10-18 01:01:30 +09:00
1 parent 78ea42b368
commit 9e3941e3b5
6 files changed
+157 -1

No files matched your search

+12
View File
@@ -102,6 +102,15 @@ public class AdvancedConfig
/// </summary>
public bool HighResBloomCorrection { get; set; } = false;
// === [MARKER: FIX_SET_FRAMERATE_BUG START] ===
/// <summary>
/// When true, fixes in-game and render bugs during SetFramerate events (where objects disappear on the first frame
/// or parallax/tiles lag behind) by deferring manual camera rendering to the end of the frame after all LateUpdates.
/// Default true.
/// </summary>
public bool FixCustomFrameRate { get; set; } = true;
// === [MARKER: FIX_SET_FRAMERATE_BUG END] ===
/// <summary>File extension of the default output file name, without the dot (e.g. "mkv", "mp4"); selects the container.</summary>
public string FileExtension { get; set; } = "mkv";
@@ -128,6 +137,9 @@ public class AdvancedConfig
ProcessAudio = source.ProcessAudio;
NonTile = source.NonTile;
HighResBloomCorrection = source.HighResBloomCorrection;
// === [MARKER: FIX_SET_FRAMERATE_BUG START] ===
FixCustomFrameRate = source.FixCustomFrameRate;
// === [MARKER: FIX_SET_FRAMERATE_BUG END] ===
FileExtension = source.FileExtension;
firePlanetColor = source.firePlanetColor;
icePlanetColor = source.icePlanetColor;