A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
docs(map): HasBand keeps its own summary (re-review n1)
eyalgolane96a27e99253
diff --git a/unity/Assets/Scripts/Map/TiltShift.cs b/unity/Assets/Scripts/Map/TiltShift.csindex 2481535af..4cb993824 100644--- a/unity/Assets/Scripts/Map/TiltShift.cs+++ b/unity/Assets/Scripts/Map/TiltShift.cs@@ -48,9 +48,6 @@ namespace Statecraft.Game.MapShader.SetGlobalVector(ParamsId, Vector4.zero);}- /// <summary>True when a rig has set a band with a radius. With the zero global (before the map's first Apply, or after- /// its teardown) smoothstep(0, 0, |y|) is about 1 everywhere, so the composite would replace the whole frame with its- /// half-resolution copy at full cost.</summary>/// <summary>"notiltshift" in the page URL (-notiltshift on desktop): boot with the tilt-shift off, so a WebGL shot/// with the real top bar can be compared with one that has it (review m3). CameraRig.Init reads it.</summary>public static bool OffRequested() =>@@ -59,6 +56,9 @@ namespace Statecraft.Game.Mappublic static bool OffRequested(string? url, string[] args, bool webgl) =>webgl ? UrlFlags.Has(url, "notiltshift") : args.Contains("-notiltshift");+ /// <summary>True when a rig has set a band with a radius. With the zero global (before the map's first Apply, or after+ /// its teardown) smoothstep(0, 0, |y|) is about 1 everywhere, so the composite would replace the whole frame with its+ /// half-resolution copy at full cost.</summary>public static bool HasBand => Shader.GetGlobalVector(ParamsId).w > 0f;}