A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
Map: a lighter near tilt-shift band by distance, as on promo 03 (Fixes #458) (#483)
Eyal Golan376c5c5815a1
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex ebb156932..e396814dc 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -204,6 +204,9 @@ adds a line under **Unreleased**; CI's `Changelog` job checks this (see `CONTRIB+0.9 ms at the gameplay zoom), not yet on an idle one.### Changed+- The map's near (bottom) tilt-shift band is lighter, as on promo 03: gently soft at the play zoom and almost none at the+ wide overview, where the foreground is now sharp as on promo 02. On the owner's ruling of 2026-10-14; the far band is+ unchanged (#390). Presentation only (#458).- The trees are warm olive-brown instead of bright green, like the groves in promo 03 (refs #34): citrus groves, olivecrowns, palms and cypresses. Only the leaf colours change; the fruit, meshes and frame cost are the same.- Map: settlement quick wins (refs #31). The White City's blocks are lime white, with a solid-parapet balcony on eachdiff --git a/docs/visual-v1.md b/docs/visual-v1.mdindex 3bb0142d5..99f2070b4 100644--- a/docs/visual-v1.md+++ b/docs/visual-v1.md@@ -231,6 +231,8 @@ Two bands, blurred by a half-resolution render-graph pass (`TiltShiftFeature` on- the focus sits at the middle of the map area below the top bar;- the blur weakens to 35% between 60 km and the 250 km overview.- since issue #390, the far (top) band is lighter at the gameplay zoom (see "Issue #390" below).+- since issue #458 (the owner's ruling of 2026-10-14), the near (bottom) band is lighter at the gameplay zoom and about+ gone at the overview (see "Issue #458" below).URP's far-only Gaussian DoF is retired. Toggle: `tiltshift`; the URL flag `notiltshift` (desktop: `-notiltshift`) boots withit off.@@ -721,7 +723,7 @@ beyond budget + the larger spread.| Boot | `BOOT map_build_ms median=432 runs=3 cpu=1`<br>`BOOT first_frame_ms median=3563 runs=3 cpu=1`<br>`BOOT map_build_ms median=1751 runs=3 cpu=4`<br>`BOOT first_frame_ms median=6797 runs=3 cpu=4`<br>`BOOT map_build_ms median=426 runs=3 cpu=1`<br>`BOOT first_frame_ms median=3477 runs=3 cpu=1`<br>`BOOT map_build_ms median=1746 runs=3 cpu=4`<br>`BOOT first_frame_ms median=6696 runs=3 cpu=4` (Step 1, then final) | — | each within max(300 ms, 50%) of its Task 1 baseline (443 / 3547; 1813 / 6963 ms); both runs exit 0 || Shadows | 1 cascade, 2048, hard | 4 cascades, 2048, soft | `-shadows` at diorama02: Step 1 headless 10.32 - 7.36 = **2.96 ms** (spread 0.32: over 2.82), headed 2.90 (0.41: within), DPR 2 4.99 (0.23); final headless 2.89 (0.41: within 2.91), headed 2.92 (0.29: **over** 2.79), DPR 2 4.80. A 1024 build measured 2.84 (headless, spread 0.09), 2.94 (headed) and 5.03 (DPR 2): (1024 lines, headless: `PROFILE summary visual=all pose=diorama02 runs=3 median_avg_ms=10.08 spread_ms=0.09 median_p95_ms=11.00`<br>`PROFILE summary visual=-shadows pose=diorama02 runs=3 median_avg_ms=7.24 spread_ms=0.03 median_p95_ms=9.00`<br>headed: `PROFILE summary visual=all pose=diorama02 runs=3 median_avg_ms=10.20 spread_ms=0.28 median_p95_ms=11.00`<br>`PROFILE summary visual=-shadows pose=diorama02 runs=3 median_avg_ms=7.26 spread_ms=0.13 median_p95_ms=9.00`<br>DPR 2: `PROFILE summary visual=all pose=diorama02 runs=3 median_avg_ms=18.34 spread_ms=0.21 median_p95_ms=19.00`<br>`PROFILE summary visual=-shadows pose=diorama02 runs=3 median_avg_ms=13.31 spread_ms=0.10 median_p95_ms=14.00`): the map's resolution is not the cost (the caster pass redraws the whole map's geometry at the overview), so 1024 would blur the relief for nothing. **2048 kept; the overrun (about 0.1-0.4 ms beyond budget + spread at the 250 km overview only) is named here.** gameplay03: 0.33 ms final || Tilt-shift | downsample 2 | downsample 2 | `-tiltshift` cost: Step 1 headless 0.09 / 0.09 ms (gameplay03 / diorama02), final headless 0.03 / -0.04, DPR 2 0.29 / -0.04: far under 1.5 ms |-| Tilt-shift bottom band | unchanged (HalfWidth 0.13 / Feather 0.17) | same | final gameplay03 shot against `?notiltshift`, gradient energy per 1% row band (columns 30-80%): fully blurred (ratio <= 0.05-0.09) from under the bar to about 26% and from about 78-83% to the bottom, so the bottom band is 17-22% against the promo's ~15%. The 2-7 point gap is the one Task 3 offered the owner (bottom-only 0.16 / 0.19). Owner's ruling (2026-10-13, issue #390): the bands stay as they are, except that the far band is lighter at the gameplay zoom ("Issue #390"); the bottom band is not changed |+| Tilt-shift bottom band | unchanged (HalfWidth 0.13 / Feather 0.17) | same | final gameplay03 shot against `?notiltshift`, gradient energy per 1% row band (columns 30-80%): fully blurred (ratio <= 0.05-0.09) from under the bar to about 26% and from about 78-83% to the bottom, so the bottom band is 17-22% against the promo's ~15%. The 2-7 point gap is the one Task 3 offered the owner (bottom-only 0.16 / 0.19). Owner's ruling (2026-10-13, issue #390): the bands stay as they are, except that the far band is lighter at the gameplay zoom ("Issue #390"); the bottom band is not changed. Owner's ruling (2026-10-14, issue #458): the bottom band's height stays, but it is lighter at the gameplay zoom and about gone at the overview ("Issue #458") || Bloom | off (was the URP template's 0.25 above 1) | off | rendered on both tiers at both poses it changed at most 2/255 of any pixel (mean 0.25/255 at diorama02, warmth +0.0003, measured with a temporary `bloom` toggle, commit `8d45a93`, removed in fix round 1 once bloom shipped off); `-bloom` cost Step 1 headless 0.37 ms (diorama02), headed 0.18, macOS 0.17 / 0.13. Off in the pipeline profile (`Settings/SampleSceneProfile`), which keeps its Neutral tonemapper (the stripping guarantee, GradeTests) || SSAO | none | off (was on) | metre radius cannot reach km relief; baked AO replaces it (Tasks 5-6) || Grade, vignette, haze, grid, water, labels | on | on | Step 1 headless costs (gameplay03 / diorama02, ms): grade -0.02 / 0.27, haze 0.08 / 0.11, grid 0.07 / -0.14, water 0.04 / 0.14, labels -0.14 / -0.02; final headless: grade 0.00 / -0.03, haze -0.03 / -0.10, grid 0.00 / -0.01, water -0.05 / -0.06, labels -0.01 / 0.01; all within budget. The grid, unmeasured on a quiet machine since Task 8, costs nothing measurable |@@ -2353,6 +2355,49 @@ the biggest gap to promo 03. Measured with its crops and poses: editor renders (strength is 1 and the frame is pixel-identical, so it is the extra uniform read and compare per tilt-shift pixel orbuild-to-build noise, within the tilt-shift's 1.5 ms budget.+## Issue #458: a lighter near tilt-shift band, by distance+- **Owner's ruling (2026-10-14).** The near (bottom) band should match promo 03: less blur at the gameplay zoom and almost+ none at the overview. The far band stays as ruled for #390 (`FarGameplayStrength` 0.35). This replaces the 2026-10-13+ note above that the bottom band is not changed.+- **The gap** (the 2026-10-13 audit, `.superpowers/audit-2026-10-13/renders/measure.py`): mean |Laplacian| of the luma+ in rows 80-95% from the top, columns 30-75%, on the WebGL `?shot`. Main had 0.0056 at gameplay03 against promo 03's+ 0.021, and 0.0064 at diorama02 against promo 02's 0.077: the near band drew in full at every distance.+- **What changed.** `TiltShift.NearStrength(distance)` scales the near band's radius and its blend, as `FarStrength` does+ the far band's: `NearGameplayStrength` (0.75) up to 150 km (`NearLightBelowM`, the far band's breakpoint), falling to 0+ at the 250 km overview. One global, `_ScTiltShiftNear`, set with the others in `TiltShift.Apply`; no new keyword or+ variant. The band's height (HalfWidth 0.13, Feather 0.17) is unchanged.+- **Why 0.75, not 0.35-0.5.** The ruling's brief guessed 0.35-0.5. The half-resolution copy the blur composites is softer+ than the frame on its own, so the blend, not the radius, sets most of the measure. A model of the pass in numpy, checked+ against main (it gives 0.0050 for main's 0.0056), puts 0.4 at about 0.046 (twice promo 03's sharpness), 0.5 at 0.039, 0.7+ at 0.024, 0.75 at 0.021 and 0.8 at 0.018. Scaling the radius alone cannot reach the target: a zero radius at full blend+ still measures only 0.023. 0.75 is the value that matches promo 03.+- **Measured** (WebGL `?shot`, main `88787ab` against the branch, same machine):++ | pose | main | branch | promo | target |+ |---|---|---|---|---|+ | gameplay03 | 0.0056 | **0.0195** | 0.021 (promo 03) | 0.015-0.025 |+ | diorama02 | 0.0064 | **0.0575** | 0.077 (promo 02) | at least 0.05 |++ diorama02's `?notiltshift` shot measures 0.0575 too: the overview's foreground is now as sharp as the frame. Above the+ focus, main and the branch differ less than two `?shot` runs of main do (gameplay03: 7346 pixels more than 2 levels+ apart against 14749 run to run, all on the animated sea), so the far band is unchanged.+- **Tests.** `TheNearBandIsGentleAtTheGameplayZoomAndGoneAtTheOverview` covers the curve. At the gameplay pose the near+ band now keeps 30-80% of its gradient energy (`TheBottomBlurs...`, `TheFarBandStaysReadable...`; it kept about 20-25%+ before), and `TheDioramaKeepsTheFarBandAndASharpForeground` asks for at least 95% of the near band at diorama02 (main:+ 33%) with the far band still at most 30%. Measured: near 0.37 / 0.39 (Mobile / PC, no bar), 0.41 at 60 km+ and 0.35 at 120 km under the web bar, 1.00 at diorama02; far unchanged (0.71, 0.68, 0.20). Mutants killed: a shader+ that ignores `_ScTiltShiftNear` (near 0.19-0.33: the three render tests) and the near strength applied to both bands+ (far 0.34 at 60 km, 1.00 at diorama02: three render tests); the C# curve held at 1, or not reaching 0 at the+ overview, fails the unit test.+- **Quality fallback.** Unchanged: `TiltShift.Draws` still needs `!FallbackOff`, so the fallback's last step still turns+ both bands off (`QualityFallbackTests` pass). The pass draws as before whenever the tilt-shift is on, even where the near+ band is 0, so frame time does not depend on the new strength.+- **Fill rate.** Headed `?vprofile` at DPR 2 (`headed.py profile --dpr 2`), main, branch, branch, main under one+ `machine_lock.py --exclusive --wait-unity`, 2026-10-14. The machine was loaded by other sessions (load 6-13), so the+ spreads are 1.5-7 ms. diorama02 `all`: main 41.81 / 33.81 ms, branch 41.09 / 39.46; `none`: main 28.02 / 23.97, branch+ 26.36 / 24.83. gameplay03 `all`: main 11.95 / 13.99, branch 13.27 / 12.40. The branch sits inside main's range in+ every row: within noise, as expected for one more uniform in an unchanged pass.+## HUD round 1: the info panel and the gilt trim (#398, #397)Art-track gap 4, first step. The gap list and the later steps (the minimap and settlement badges; the top bar and carddiff --git a/unity/Assets/Scripts/Map/TiltShift.cs b/unity/Assets/Scripts/Map/TiltShift.csindex 57d0d6b05..fd98b07ca 100644--- a/unity/Assets/Scripts/Map/TiltShift.cs+++ b/unity/Assets/Scripts/Map/TiltShift.cs@@ -14,6 +14,7 @@ namespace Statecraft.Game.Map{public static readonly int ParamsId = Shader.PropertyToID("_ScTiltShift");public static readonly int FarId = Shader.PropertyToID("_ScTiltShiftFar");+ public static readonly int NearId = Shader.PropertyToID("_ScTiltShiftNear");public const float HalfWidth = 0.13f, Feather = 0.17f;/// <summary>The largest blur radius as a share of the picture's height: 14 px of a 1080-line picture (tap spacing/// 1.75 texels of the half-resolution target, still adequately sampled by the 9 taps).</summary>@@ -44,15 +45,26 @@ namespace Statecraft.Game.Map/// <summary>The far (top) band's strength, scaling its radius and its blend (issue #390, the owner's ruling of/// 2026-10-13: a lighter tilt-shift at the gameplay zoom). FarGameplayStrength up to FarLightBelowM, the far edge only/// gently soft as on promo 03, so the far towns and tokens stay readable; rising to 1 at the overview- /// (CameraController.MaxDistance, diorama02), which keeps both bands in full. The near (bottom) band is unchanged.</summary>+ /// (CameraController.MaxDistance, diorama02), which keeps the far band in full.</summary>public const float FarGameplayStrength = 0.35f, FarLightBelowM = 150000f;public static float FarStrength(float distance) =>Mathf.Lerp(FarGameplayStrength, 1f, Mathf.InverseLerp(FarLightBelowM, CameraController.MaxDistance, distance));- /// <summary>A band's strength at viewport y: the far band's above the focus, 1 below (mirrors BandStrength in- /// TiltShift.shader).</summary>- public static float BandStrength(float y, Vector4 p, float far) => y > p.x ? far : 1f;+ /// <summary>The near (bottom) band's strength, scaling its radius and its blend (the owner's ruling of 2026-10-14: the+ /// near band as on promo 03). NearGameplayStrength up to NearLightBelowM, falling to 0 at the overview+ /// (CameraController.MaxDistance, diorama02), where promo 02's foreground is sharp: the opposite of FarStrength,+ /// which rises there. 0.75 is set by measure, not by eye: the gameplay03 shot's near band (rows 80-95%, columns+ /// 30-75%) then has promo 03's mean |Laplacian| (0.021; 1 gives 0.0056, 0.4 about 0.046). The half-resolution+ /// copy alone is softer than the frame, so the blend, not the radius, sets most of the sharpness.</summary>+ public const float NearGameplayStrength = 0.75f, NearLightBelowM = FarLightBelowM;++ public static float NearStrength(float distance) =>+ Mathf.Lerp(NearGameplayStrength, 0f, Mathf.InverseLerp(NearLightBelowM, CameraController.MaxDistance, distance));++ /// <summary>A band's strength at viewport y: the far band's above the focus, the near band's below (mirrors+ /// BandStrength in TiltShift.shader).</summary>+ public static float BandStrength(float y, Vector4 p, float far, float near) => y > p.x ? far : near;public static Vector4 Params(float topInset, float distance) =>new Vector4(FocusCentre(topInset), HalfWidth, Feather, MaxRadiusUv * Strength(distance));@@ -61,6 +73,7 @@ namespace Statecraft.Game.Map{Shader.SetGlobalVector(ParamsId, Params(topInset, distance));Shader.SetGlobalFloat(FarId, FarStrength(distance));+ Shader.SetGlobalFloat(NearId, NearStrength(distance));}/// <summary>No band set: TiltShiftFeature draws nothing until the next Apply (a camera no rig drives, or the map torndiff --git a/unity/Assets/Shaders/TiltShift.shader b/unity/Assets/Shaders/TiltShift.shaderindex b1518d11a..36241c272 100644--- a/unity/Assets/Shaders/TiltShift.shader+++ b/unity/Assets/Shaders/TiltShift.shader@@ -3,7 +3,9 @@// pixel is TiltWeight(y) * _ScTiltShift.w of the picture's height, so the focus band stays sharp and the blur grows// smoothly towards the top and bottom. The radius is a share of the picture's height (UV units). No depth texture: it runs on// the web tier. The far (top) band is scaled by _ScTiltShiftFar in both its radius and its blend, so at the gameplay zoom-// the far towns stay readable (issue #390, the owner's ruling) while the overview keeps both bands in full.+// the far towns stay readable (issue #390, the owner's ruling) while the overview keeps the far band in full. The near+// (bottom) band is scaled by _ScTiltShiftNear the same way: gentle at the gameplay zoom, about none at the overview (the+// owner's ruling of 2026-10-14, the near band as on promo 03).Shader "Statecraft/TiltShift"{SubShader@@ -16,15 +18,16 @@ Shader "Statecraft/TiltShift"float4 _ScTiltShift; // x focus centre (viewport y, 0 = bottom), y sharp half-width, z feather, w max radius (share of height)float _ScTiltShiftFar; // the far (top) band's strength, 0..1: scales its radius and its blend (TiltShift.FarStrength)+ float _ScTiltShiftNear; // the near (bottom) band's strength, 0..1: scales its radius and its blend (TiltShift.NearStrength)float TiltWeight(float y){return smoothstep(_ScTiltShift.y, _ScTiltShift.y + _ScTiltShift.z, abs(y - _ScTiltShift.x));}- // The band's own strength: 1 below the focus (the near band), _ScTiltShiftFar above it. Continuous: TiltWeight is 0- // within the sharp half-width either side of the focus.- float BandStrength(float y) { return y > _ScTiltShift.x ? _ScTiltShiftFar : 1.0; }+ // The band's own strength: _ScTiltShiftNear below the focus (the near band), _ScTiltShiftFar above it. Continuous:+ // TiltWeight is 0 within the sharp half-width either side of the focus.+ float BandStrength(float y) { return y > _ScTiltShift.x ? _ScTiltShiftFar : _ScTiltShiftNear; }half3 Sample(float2 uv) { return SAMPLE_TEXTURE2D_X(_BlitTexture, sampler_LinearClamp, uv).rgb; }diff --git a/unity/Assets/Tests/EditMode/TiltShiftTests.cs b/unity/Assets/Tests/EditMode/TiltShiftTests.csindex 83f6ebda2..4011c98b8 100644--- a/unity/Assets/Tests/EditMode/TiltShiftTests.cs+++ b/unity/Assets/Tests/EditMode/TiltShiftTests.cs@@ -98,8 +98,21 @@ public class TiltShiftTestsAssert.AreEqual(1f, TiltShift.FarStrength(CameraController.MaxDistance), 1e-6f, "the overview keeps it in full");Assert.Less(TiltShift.FarStrength(200000f), 1f); Assert.Greater(TiltShift.FarStrength(200000f), TiltShift.FarGameplayStrength);var p = TiltShift.Params(0.09f, 60000f);- Assert.AreEqual(1f, TiltShift.BandStrength(0.1f, p, 0.35f), "the near band is unchanged");- Assert.AreEqual(0.35f, TiltShift.BandStrength(0.9f, p, 0.35f));+ Assert.AreEqual(0.35f, TiltShift.BandStrength(0.9f, p, 0.35f, 0.4f), "the far band above the focus");+ Assert.AreEqual(0.4f, TiltShift.BandStrength(0.1f, p, 0.35f, 0.4f), "the near band below it");+ }++ /// <summary>The owner's ruling (2026-10-14): the near (bottom) band as on promo 03, gentle at the gameplay zoom and+ /// about none at the overview, where promo 02's foreground is sharp. The far band keeps its own curve (issue #390).</summary>+ [Test]+ public void TheNearBandIsGentleAtTheGameplayZoomAndGoneAtTheOverview()+ {+ Assert.That(TiltShift.NearGameplayStrength, Is.InRange(0.5f, 0.9f), "lighter than before, but a tilt-shift");+ Assert.AreEqual(TiltShift.NearGameplayStrength, TiltShift.NearStrength(PromoPose.Gameplay03.Distance), 1e-6f);+ Assert.AreEqual(TiltShift.NearGameplayStrength, TiltShift.NearStrength(120000f), 1e-6f, "CameraRig's starting zoom");+ Assert.AreEqual(0f, TiltShift.NearStrength(CameraController.MaxDistance), 1e-6f, "none at the overview");+ Assert.Less(TiltShift.NearStrength(200000f), TiltShift.NearGameplayStrength); Assert.Greater(TiltShift.NearStrength(200000f), 0f);+ Assert.AreEqual(0.35f, TiltShift.FarGameplayStrength, "the far band is the #390 ruling's");}[Test]@@ -126,9 +139,10 @@ public class TiltShiftTestspublic void TheTiltShiftShaderCompilesForWebGL2() =>CollectionAssert.IsEmpty(ShaderChecks.Gles3Errors(Shader.Find("Statecraft/TiltShift")));- /// <summary>Rendered on both tiers at the gameplay pose: local contrast in the bottom (near) band falls by at least- /// 40%, the middle band keeps at least 95% of it. (Thresholds leave room for the terrain and grade tracks: a blur- /// lowers gradient energy whatever the texture.) The top (far) band is lighter at this zoom since issue #390:+ /// <summary>Rendered on both tiers at the gameplay pose: the bottom (near) band keeps 28-60% of its local contrast+ /// (gently soft since the owner's ruling of 2026-10-14, as on promo 03: main's full band kept about 20%), the middle+ /// band at least 95%. (Thresholds leave room for the terrain and grade tracks: a blur lowers gradient energy whatever+ /// the texture.) The top (far) band is lighter at this zoom since issue #390:/// TheFarBandStaysReadableAtTheGameplayZoom.</summary>[UnityTest]public IEnumerator TheBottomBlursAndTheMiddleStaysSharpOnBothTiers()@@ -151,8 +165,8 @@ public class TiltShiftTestsfloat bottom = Ratio(0.02f, 0.10f), middle = Ratio(0.46f, 0.54f);float bottomInner = Ratio(0.13f, 0.19f); // review I2: the bands are tallTestContext.WriteLine($"{QualitySettings.names[level]}: bottom {bottom:0.00}, middle {middle:0.00}, bottom 0.13-0.19 {bottomInner:0.00}");- Assert.Less(bottom, 0.6f, "bottom band blurred");- Assert.Less(bottomInner, 0.6f, "fully blurred 13-19% above the bottom");+ Assert.That(bottom, Is.InRange(0.28f, 0.6f), "bottom band gently soft");+ Assert.That(bottomInner, Is.InRange(0.28f, 0.6f), "13-19% above the bottom too (review I2: the bands are tall)");Assert.Greater(middle, 0.95f, "middle band sharp");// Review N6: the same blur at twice the resolution (the radius is a share of the picture's height).TiltShift.Enabled = false; var sharpBig = RenderSample.Render(cam, 1920, 1080);@@ -189,18 +203,20 @@ public class TiltShiftTestsTestContext.WriteLine($"{distance / 1000f:0} km: far band 0.78-0.90 {far:0.00}, near band {near:0.00}");Assert.GreaterOrEqual(far, 0.6f, $"far band readable at {distance / 1000f:0} km");Assert.Less(far, 0.95f, "but still gently soft (a tilt-shift, not none)");- Assert.Less(near, 0.6f, "the near band keeps its blur");+ Assert.That(near, Is.InRange(0.28f, 0.6f), "the near band gently soft (the 2026-10-14 ruling)");}}finally { rig.TopInset = 0f; }}- /// <summary>Issue #390: the overview (diorama02, CameraController.MaxDistance) keeps both bands in full, as before the- /// ruling: the far band keeps at most 30% of its local contrast (21% measured) and the near band at most 45% (33%).</summary>+ /// <summary>The overview (diorama02, CameraController.MaxDistance) keeps the far band in full (issue #390): at most 30%+ /// of its local contrast (21% measured). Its near band is about gone since the owner's ruling of 2026-10-14, so the+ /// foreground is sharp as on promo 02: at least 95% (main kept 33%).</summary>[UnityTest]- public IEnumerator TheDioramaKeepsBothBands()+ public IEnumerator TheDioramaKeepsTheFarBandAndASharpForeground(){Assert.AreEqual(1f, TiltShift.FarStrength(CameraController.MaxDistance), "full far band at the overview");+ Assert.AreEqual(0f, TiltShift.NearStrength(CameraController.MaxDistance), "no near band at the overview");EditorSceneManager.OpenScene("Assets/Map.unity", OpenSceneMode.Single);var map = Object.FindFirstObjectByType<MapScene>(); map.Build();yield return null;@@ -214,7 +230,7 @@ public class TiltShiftTestsfloat far = Ratio(0.78f, 0.90f), near = Ratio(0.02f, 0.10f), middle = Ratio(0.43f, 0.48f);TestContext.WriteLine($"diorama02: far {far:0.00}, near {near:0.00}, middle {middle:0.00}");Assert.Less(far, 0.3f, "far band blurred in full");- Assert.Less(near, 0.45f, "near band blurred in full");+ Assert.Greater(near, 0.95f, "near band about gone: a sharp foreground");Assert.Greater(middle, 0.95f, "middle band sharp");}finally { rig.TopInset = 0f; }