Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

plan: Task 4 outcome in the interfaces (Temperature 5, no AmbientProbe)

eyalgolancd71c4b10fc4
diff --git a/docs/superpowers/plans/2026-10-11-statecraft-visual-v1.md b/docs/superpowers/plans/2026-10-11-statecraft-visual-v1.md
index 55e50209e..572b1fd57 100644
--- a/docs/superpowers/plans/2026-10-11-statecraft-visual-v1.md
+++ b/docs/superpowers/plans/2026-10-11-statecraft-visual-v1.md
@@ -2070,7 +2070,7 @@ Why `ShadowFit.CoverFactor = 1.75`: at pitch 50° and FOV 35°, with the top bar
**Interfaces:**
- Consumes: `CameraRig.TeardownActions`, `VisualToggles.Register`, `PromoPose`, `RenderSample` (Task 1).
-- Produces: `MapLighting { const float SunElevation = 30f, SunAzimuth = 285f, SunIntensity = 1.6f; static readonly Color SunColour, AmbientSky, AmbientEquator, AmbientGround; static Light? FindSun(); static void Apply(Light? sun); static SphericalHarmonicsL2 AmbientProbe(); }`; `ShadowFit { const float CoverFactor = 1.75f, MinDistanceM = 3000f, MaxDistanceM = 450000f; static float Distance(float cameraDistance); static void Apply(float cameraDistance); static void Restore(); }`; toggle `"shadows"`; `CameraController.MinDistance = 6000f`.
+- Produces: `MapLighting { const float SunElevation = 30f, SunAzimuth = 285f, SunIntensity = 1.6f; static readonly Color SunColour, AmbientSky, AmbientEquator, AmbientGround; static Light? FindSun(); static void Apply(Light? sun); }` (Task 4 removed `AmbientProbe()`: Trilight ambient replaces any assigned probe, so it never rendered); `ShadowFit { const float CoverFactor = 1.75f, MinDistanceM = 3000f, MaxDistanceM = 450000f; static float Distance(float cameraDistance); static void Apply(float cameraDistance); static void Restore(); }`; toggle `"shadows"`; `CameraController.MinDistance = 6000f`.
- [ ] **Step 1: Write the failing tests**
@@ -3090,7 +3090,7 @@ Co-Authored-By: Claude Opus 5.5 <[email protected]>"
**Interfaces:**
- Consumes: `CameraRig.Init` (the runtime `VolumeProfile`), `VisualToggles`, `RenderSample`, `PromoPose`.
-- Produces: `MapGrade { const TonemappingMode Tonemapper = TonemappingMode.Neutral; const float PostExposure = 0.15f, Contrast = 14f, Saturation = 16f, Temperature = 9f, VignetteIntensity = 0.26f; static readonly Color SplitShadows, SplitHighlights, VignetteColour; static void Apply(VolumeProfile profile); static void SetActive(VolumeProfile profile, bool on); }`; toggle `"grade"` (grade, tonemapper and vignette together).
+- Produces: `MapGrade { const TonemappingMode Tonemapper = TonemappingMode.Neutral; const float PostExposure = 0.15f, Contrast = 14f, Saturation = 16f, Temperature = 5f, VignetteIntensity = 0.26f; static readonly Color SplitShadows, SplitHighlights, VignetteColour; static void Apply(VolumeProfile profile); static void SetActive(VolumeProfile profile, bool on); }`; toggle `"grade"` (grade, tonemapper and vignette together).
- [ ] **Step 1: Write the failing tests**
@@ -3292,7 +3292,7 @@ namespace Statecraft.Game.Map
{
/// <summary>Neutral, not ACES: it only rolls off highlights, so the sea's blue and the amber land keep their hue (plan Task 4).</summary>
public const TonemappingMode Tonemapper = TonemappingMode.Neutral;
- public const float PostExposure = 0.15f, Contrast = 14f, Saturation = 16f, Temperature = 9f, Tint = 2f;
+ public const float PostExposure = 0.15f, Contrast = 14f, Saturation = 16f, Temperature = 5f, Tint = 2f; // 9 -> 5 in Task 4 so the merged diorama warmth lands below the promo's 0.145
public const float SplitBalance = -15f, VignetteIntensity = 0.26f, VignetteSmoothness = 0.45f;
public static readonly Color SplitShadows = new Color(0.36f, 0.52f, 0.60f);
public static readonly Color SplitHighlights = new Color(0.96f, 0.78f, 0.55f);
@@ -6669,7 +6669,7 @@ Run against the owner's scope list, the controller input and rulings, the review
**2. Placeholder scan.** No TBD or "similar to Task N"; steps that used to point at another task's command now carry the command. The values left to the implementer are measurements (profile and boot lines, the render-scale decision by a stated rule, the boot baseline written down in Task 1, art-log numbers) and the owner's verdicts, each with its exact command and destination in `docs/visual-v1.md`.
-**3. Type and name consistency.** Checked across tasks after the amendments: `PromoPose.{Gameplay03, Diorama02, All, Apply}`; `VisualToggles.{Register, Unregister, Set, SetAll, Names, Clear}` and the toggles `shadows`, `tiltshift`, `grade`, `haze`, `water`, `grid`, `labels`; `FrameProfile.{Requested, Line(label, pose, resolution, renderScale, rep, frames), Summary, Order, Run, Repeats}`, `VisualShots.{Requested, Lines, Run, ChunkChars}`, `FrameStats.Summary`; `RenderSample.{Render, At, Mean, MeanLuma, GradientEnergy, MeanSaturation, LumaStd, FractionClipped, Luma, FractionDarker, Lab, DeltaE, Cvd, SimulateCvd}`; `ShaderChecks.{Gles3Errors, ExcludesGles3}`; `MapRuntimeAssets.OnTeardown`, `CameraRig.TeardownActions`; `MapLighting.{FindSun, Apply, AmbientProbe}`, `ShadowFit.{Distance, Apply, Restore, CoverFactor, MinDistanceM}`; `TiltShift.{Weight, FocusCentre, Strength, Params(topInset, distance), Apply(topInset, distance), Enabled, MaxRadiusUv, MinStrength, ParamsId}`, `PostFxPaths.TiltShiftMaterial`, `TiltShiftFeature.{Material, Downsample}`; `MapGrade.{Apply, SetActive, Saturation, Tonemapper}`; HLSL `_ScMap`, `_ScMapOrigin`, `_ScHaze`, `_ScHazeWater`, `_ScHazeRange`, `_ScWaterOn`, `_ScGrid`, `_ScBiomeTex`, `_ScBakeTex`, `_ScCoastTex`, `_ScTiltShift`, `ScGround`, `ScWater`, `ScHazeAmount`, `ScHazeWater`, `ScWaterShade`, `ScCoastRangeM`, `ScHexEdgeDistance`, `ScGridLine`, `ScGridAmount`, `ScGridLandSrgb`, `ScGridWaterSrgb`, `StatecraftTerrain_float`; `MapShaderGlobals.{Map, MapOrigin, Biome, Haze, HazeWater, HazeRange, WaterOn, Grid, Apply, GridLandOpacity, GridWaterOpacity, GridWidthPx}`, `MapTexturePaths.{Bake, Coast}`, `MapPalette.Ground`, `HexGrid.{Centre, NearestCentre, FromWorld, ToWorld, EdgeDistance}`; `MapBuilder.{BiomeTextureResolution, NoBasemapDistanceM, SkirtFall, SkirtRings, RingVertices, OverlaySegmentsPerEdge}`; `MapScene.{Settlements, Configure(5), SelectionClearanceM, SelectionWidth, SelectionName}`; `SettlementPlacer.MarkerHeightM`; `MapLabelsPresenter.{ContainerName, SlotClass, LabelClass, LiftPx, MarginPx, DeclutterDistanceM, Labels, Slots, Anchor, Priority, HiddenByZoom, PillRect, Refresh(force)}`; `QualityTierValues`, `QualityTiers.Apply`; Python `terrain_bake.{openness, curvature, water_mask, distance_to, to_texels, encode_coast, bake, main}`, `terrain_graph.{build, split, kind, OUTPUTS, FILE_MODE}`, `web_check.{ShotCollector, chrome_flags(profile, swiftshader)}`, `art_compare.{metrics, histogram_distance, simulate_cvd, compose, main(argv, root, promos)}`, `machine_lock.{parse, worktrees, lockfile_holders, unity_pids, wait_for_unity, main, LOCK}`, `headed.{browser_flags, boot_phases, map_build_ms, over_budget, boot, profile, main}`.
+**3. Type and name consistency.** Checked across tasks after the amendments: `PromoPose.{Gameplay03, Diorama02, All, Apply}`; `VisualToggles.{Register, Unregister, Set, SetAll, Names, Clear}` and the toggles `shadows`, `tiltshift`, `grade`, `haze`, `water`, `grid`, `labels`; `FrameProfile.{Requested, Line(label, pose, resolution, renderScale, rep, frames), Summary, Order, Run, Repeats}`, `VisualShots.{Requested, Lines, Run, ChunkChars}`, `FrameStats.Summary`; `RenderSample.{Render, At, Mean, MeanLuma, GradientEnergy, MeanSaturation, LumaStd, FractionClipped, Luma, FractionDarker, Lab, DeltaE, Cvd, SimulateCvd}`; `ShaderChecks.{Gles3Errors, ExcludesGles3}`; `MapRuntimeAssets.OnTeardown`, `CameraRig.TeardownActions`; `MapLighting.{FindSun, Apply}`, `ShadowFit.{Distance, Apply, Restore, CoverFactor, MinDistanceM}`; `TiltShift.{Weight, FocusCentre, Strength, Params(topInset, distance), Apply(topInset, distance), Enabled, MaxRadiusUv, MinStrength, ParamsId}`, `PostFxPaths.TiltShiftMaterial`, `TiltShiftFeature.{Material, Downsample}`; `MapGrade.{Apply, SetActive, Saturation, Tonemapper}`; HLSL `_ScMap`, `_ScMapOrigin`, `_ScHaze`, `_ScHazeWater`, `_ScHazeRange`, `_ScWaterOn`, `_ScGrid`, `_ScBiomeTex`, `_ScBakeTex`, `_ScCoastTex`, `_ScTiltShift`, `ScGround`, `ScWater`, `ScHazeAmount`, `ScHazeWater`, `ScWaterShade`, `ScCoastRangeM`, `ScHexEdgeDistance`, `ScGridLine`, `ScGridAmount`, `ScGridLandSrgb`, `ScGridWaterSrgb`, `StatecraftTerrain_float`; `MapShaderGlobals.{Map, MapOrigin, Biome, Haze, HazeWater, HazeRange, WaterOn, Grid, Apply, GridLandOpacity, GridWaterOpacity, GridWidthPx}`, `MapTexturePaths.{Bake, Coast}`, `MapPalette.Ground`, `HexGrid.{Centre, NearestCentre, FromWorld, ToWorld, EdgeDistance}`; `MapBuilder.{BiomeTextureResolution, NoBasemapDistanceM, SkirtFall, SkirtRings, RingVertices, OverlaySegmentsPerEdge}`; `MapScene.{Settlements, Configure(5), SelectionClearanceM, SelectionWidth, SelectionName}`; `SettlementPlacer.MarkerHeightM`; `MapLabelsPresenter.{ContainerName, SlotClass, LabelClass, LiftPx, MarginPx, DeclutterDistanceM, Labels, Slots, Anchor, Priority, HiddenByZoom, PillRect, Refresh(force)}`; `QualityTierValues`, `QualityTiers.Apply`; Python `terrain_bake.{openness, curvature, water_mask, distance_to, to_texels, encode_coast, bake, main}`, `terrain_graph.{build, split, kind, OUTPUTS, FILE_MODE}`, `web_check.{ShotCollector, chrome_flags(profile, swiftshader)}`, `art_compare.{metrics, histogram_distance, simulate_cvd, compose, main(argv, root, promos)}`, `machine_lock.{parse, worktrees, lockfile_holders, unity_pids, wait_for_unity, main, LOCK}`, `headed.{browser_flags, boot_phases, map_build_ms, over_budget, boot, profile, main}`.
**4. Review Focus.** Five conditions (yaw, zoom extremes, window size and render scale, rebuild, weak GPU and colour-blind players), each pinned by a named test or step in its owning task.