@@ -43,6 +43,10 @@ public static class StarfieldSettings
4343 // Color
4444 public static float ColorSaturation { get ; set ; } = 1.0f ; // 0.5=realistic, 1.0=natural, 2.0=vivid
4545
46+
47+ // Bloom mode toggle: false = Classic (original 4-spike), true = Soft HDR (2-pass)
48+ public static bool UseSoftBloom { get ; set ; } = false ;
49+
4650 // HYG Catalog Coordinate Rotation (degrees)
4751 // Allows aligning the real sky catalog with the game's coordinate system
4852 public static float RotationX { get ; set ; } = 0.0f ; // Tilt forward/back
@@ -188,6 +192,7 @@ public static void Load()
188192 BloomThreshold = float . Parse ( settingsNode . GetValue ( "BloomThreshold" ) ?? "0.08" ) ;
189193 BloomIntensity = float . Parse ( settingsNode . GetValue ( "BloomIntensity" ) ?? "0.5" ) ;
190194 ColorSaturation = float . Parse ( settingsNode . GetValue ( "ColorSaturation" ) ?? "1.0" ) ;
195+ UseSoftBloom = bool . Parse ( settingsNode . GetValue ( "UseSoftBloom" ) ?? "false" ) ;
191196 RotationX = float . Parse ( settingsNode . GetValue ( "RotationX" ) ?? "0.0" ) ;
192197 RotationY = float . Parse ( settingsNode . GetValue ( "RotationY" ) ?? "0.0" ) ;
193198 RotationZ = float . Parse ( settingsNode . GetValue ( "RotationZ" ) ?? "0.0" ) ;
@@ -262,6 +267,7 @@ public static void PushSettingsToNative()
262267 BloomThreshold = BloomThreshold ,
263268 BloomIntensity = BloomIntensity ,
264269 ColorSaturation = ColorSaturation ,
270+ UseSoftBloom = UseSoftBloom ? 1 : 0 ,
265271 RotationX = RotationX ,
266272 RotationY = RotationY ,
267273 RotationZ = RotationZ
@@ -455,6 +461,7 @@ public static void Save()
455461 settingsNode . AddValue ( "BloomThreshold" , BloomThreshold ) ;
456462 settingsNode . AddValue ( "BloomIntensity" , BloomIntensity ) ;
457463 settingsNode . AddValue ( "ColorSaturation" , ColorSaturation ) ;
464+ settingsNode . AddValue ( "UseSoftBloom" , UseSoftBloom ) ;
458465 settingsNode . AddValue ( "RotationX" , RotationX ) ;
459466 settingsNode . AddValue ( "RotationY" , RotationY ) ;
460467 settingsNode . AddValue ( "RotationZ" , RotationZ ) ;
0 commit comments