Move minimap gravity range into render settings

This commit is contained in:
Meta Vens 2026-06-22 00:11:55 +01:00
commit 39927896ff
4 changed files with 13 additions and 5 deletions

View file

@ -597,7 +597,8 @@ public class ActionGameManager : MonoBehaviour
new AetheriaRuntimeExponentialCurve(
bodyIconSizeCurve.Exponent,
bodyIconSizeCurve.Multiplier,
bodyIconSizeCurve.Constant));
bodyIconSizeCurve.Constant),
Settings.MinimapZoneGravityRange);
}
private readonly (float2 direction, string name)[] _directions = {

View file

@ -658,7 +658,7 @@ public class ZoneRenderer : MonoBehaviour
SectorBoundaryBrush.material.SetFloat("_Depth", Settings.PlanetSettings.ZoneDepth + Settings.PlanetSettings.ZoneBoundaryFog);
var gravityBand = AetheriaRuntimeDaemonRenderQueries.QueryGravityTerrainBand(
_daemonZoneSnapshot,
Settings.MinimapZoneGravityRange,
RenderSettings.MinimapZoneGravityRange,
maxDepth);
foreach (var mat in MapGravityMaterials)
{