From db9dcb866f76e0d4ede009c9524a1286a80ab905 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 16 Jul 2026 20:57:34 +0100 Subject: [PATCH] Pin and prove HDR grading release --- .../Tests/PlayMode/GenericWorldCaptureTests.cs | 5 +++++ ReleaseConsumerProject/Packages/manifest.json | 2 +- ReleaseConsumerProject/Packages/packages-lock.json | 4 ++-- .../Tests/PlayMode/GenericWorldCaptureTests.cs | 5 +++++ docs/aetheria-released-package-witness.md | 12 ++++++++++-- scripts/run-aetheria-daemon-world-witness.ps1 | 2 +- 6 files changed, 24 insertions(+), 6 deletions(-) diff --git a/ReleaseConsumerProject/Assets/Tests/PlayMode/GenericWorldCaptureTests.cs b/ReleaseConsumerProject/Assets/Tests/PlayMode/GenericWorldCaptureTests.cs index 144c9bf..5fe6c4a 100644 --- a/ReleaseConsumerProject/Assets/Tests/PlayMode/GenericWorldCaptureTests.cs +++ b/ReleaseConsumerProject/Assets/Tests/PlayMode/GenericWorldCaptureTests.cs @@ -647,6 +647,11 @@ namespace GameCult.EveUnity.GenericClient.PlayModeTests cameraRig.CameraTransform = camera.transform; cameraRig.RenderPolicySource = provider; Assert.That(cameraRig.ApplyRig(0f), Is.True); + var activePipelineAsset = GraphicsSettings.currentRenderPipeline as UniversalRenderPipelineAsset; + Assert.That(activePipelineAsset, Is.Not.Null, + "The generic client has no active URP asset for the advertised grading space."); + Assert.That(activePipelineAsset.colorGradingMode, Is.EqualTo(ColorGradingMode.HighDynamicRange), + "The advertised HDR-before-tonemap grading space did not reach the active URP pipeline."); var reflection = provider.ResolveAsset(new EveUnityPlayableWorldAssetBinding( runtime.ActiveWorld.ReflectionAssetRef, "", "provider-asset-ref"), typeof(Cubemap)) as Cubemap; Assert.That(runtime.ActiveWorld.SkyboxAssetRef, Is.Empty, diff --git a/ReleaseConsumerProject/Packages/manifest.json b/ReleaseConsumerProject/Packages/manifest.json index 02d2252..3c9427b 100644 --- a/ReleaseConsumerProject/Packages/manifest.json +++ b/ReleaseConsumerProject/Packages/manifest.json @@ -9,7 +9,7 @@ "org.gamecult.cultlib": "https://github.com/GameCult/CultLib.git?path=/unity/org.gamecult.cultlib#cultlib-unity-v1.0.15", "org.gamecult.eve.plugin-fields": "https://github.com/GameCult/EvePlugins.git?path=/plugins/eve-plugin-fields/unity/org.gamecult.eve.plugin-fields#eve-plugin-fields-unity-v0.2.3", "org.gamecult.eve.surface": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.surface#eveunity-surface-v0.2.2", - "org.gamecult.eve.unity-scene": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.3.61", + "org.gamecult.eve.unity-scene": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.3.62", "org.gamecult.eve.unity-uitoolkit": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-uitoolkit#eveunity-uitoolkit-v0.1.1" }, "testables": [ diff --git a/ReleaseConsumerProject/Packages/packages-lock.json b/ReleaseConsumerProject/Packages/packages-lock.json index 9a585dc..92907d8 100644 --- a/ReleaseConsumerProject/Packages/packages-lock.json +++ b/ReleaseConsumerProject/Packages/packages-lock.json @@ -144,7 +144,7 @@ "hash": "140e1bd963a0033e66777a3b2c5fe6e9c97dfe32" }, "org.gamecult.eve.unity-scene": { - "version": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.3.61", + "version": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.3.62", "depth": 0, "source": "git", "dependencies": { @@ -155,7 +155,7 @@ "com.unity.render-pipelines.universal": "17.4.0", "com.unity.modules.particlesystem": "1.0.0" }, - "hash": "887de62db84526511ae99a9d59429ae05c86476c" + "hash": "ed92fa7be0e2e7e386ab50ad36d6fd954d2d86a5" }, "org.gamecult.eve.unity-uitoolkit": { "version": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-uitoolkit#eveunity-uitoolkit-v0.1.1", diff --git a/TestProject/Assets/Tests/PlayMode/GenericWorldCaptureTests.cs b/TestProject/Assets/Tests/PlayMode/GenericWorldCaptureTests.cs index 144c9bf..5fe6c4a 100644 --- a/TestProject/Assets/Tests/PlayMode/GenericWorldCaptureTests.cs +++ b/TestProject/Assets/Tests/PlayMode/GenericWorldCaptureTests.cs @@ -647,6 +647,11 @@ namespace GameCult.EveUnity.GenericClient.PlayModeTests cameraRig.CameraTransform = camera.transform; cameraRig.RenderPolicySource = provider; Assert.That(cameraRig.ApplyRig(0f), Is.True); + var activePipelineAsset = GraphicsSettings.currentRenderPipeline as UniversalRenderPipelineAsset; + Assert.That(activePipelineAsset, Is.Not.Null, + "The generic client has no active URP asset for the advertised grading space."); + Assert.That(activePipelineAsset.colorGradingMode, Is.EqualTo(ColorGradingMode.HighDynamicRange), + "The advertised HDR-before-tonemap grading space did not reach the active URP pipeline."); var reflection = provider.ResolveAsset(new EveUnityPlayableWorldAssetBinding( runtime.ActiveWorld.ReflectionAssetRef, "", "provider-asset-ref"), typeof(Cubemap)) as Cubemap; Assert.That(runtime.ActiveWorld.SkyboxAssetRef, Is.Empty, diff --git a/docs/aetheria-released-package-witness.md b/docs/aetheria-released-package-witness.md index fe399f8..aa04bc2 100644 --- a/docs/aetheria-released-package-witness.md +++ b/docs/aetheria-released-package-witness.md @@ -4,8 +4,8 @@ The released-package cold world witness passes with: -- `org.gamecult.eve.unity-scene` `0.3.61`, commit - `887de62db84526511ae99a9d59429ae05c86476c`; +- `org.gamecult.eve.unity-scene` `0.3.62`, commit + `ed92fa7be0e2e7e386ab50ad36d6fd954d2d86a5`; - `org.gamecult.eve.plugin-fields` `0.2.3`, commit `c5a4a75c1b727499b16c2dae1895f29e2a9f72f0`; - `org.gamecult.eve.surface` `0.2.2`, commit @@ -53,6 +53,14 @@ seconds with 238 fog composites and Stardust draws; the pilot camera still excludes map renderers and the map camera includes them. Remaining visual work is color/composition parity, not broken fog opacity or an unsettled witness. +The released `0.3.62` warm HD witness in +`artifacts/aetheria-daemon-hdr-grading-warm-hd` lowers the provider's +`hdr-before-tonemap.v1` grading-space contract. This restores the fossil +profile's HDR ordering—grading before ACES—rather than inheriting the released +consumer project's default LDR grading after tonemapping. EveUnity restores the +consumer's prior pipeline mode when the camera is released and fails closed +when the requested grading space cannot be lowered. + Current released-package evidence is in `artifacts/aetheria-daemon-mapped-body-cold`; despite that retained directory name, `runtime-witness.warm.json` is the current passing run. The warm PlayMode test diff --git a/scripts/run-aetheria-daemon-world-witness.ps1 b/scripts/run-aetheria-daemon-world-witness.ps1 index f45e3db..5773583 100644 --- a/scripts/run-aetheria-daemon-world-witness.ps1 +++ b/scripts/run-aetheria-daemon-world-witness.ps1 @@ -13,7 +13,7 @@ param( ) $ErrorActionPreference = "Stop" -$expectedEveUnityCommit = "887de62db84526511ae99a9d59429ae05c86476c" +$expectedEveUnityCommit = "ed92fa7be0e2e7e386ab50ad36d6fd954d2d86a5" $expectedEveFieldsCommit = "c5a4a75c1b727499b16c2dae1895f29e2a9f72f0" $expectedEveUnityUiToolkitCommit = "4d0cbe0185bdc4fc65eb63503a7c5cb578539669" $expectedCultLibCommit = "419053ebe2325848051c4f4d8ba352cd4286c424"