Pin and prove HDR grading release

This commit is contained in:
Meta Vens 2026-07-16 20:57:34 +01:00
commit db9dcb866f
6 changed files with 24 additions and 6 deletions

View file

@ -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,