Restore histogram exposure ownership
This commit is contained in:
parent
fec92d5b48
commit
490fe45a71
6 changed files with 26 additions and 9 deletions
|
|
@ -820,6 +820,15 @@ internal sealed class AetheriaDaemonYmirSmokeChecks
|
|||
world.Props["ambientLightColor"] == "0.5,0.75,1" &&
|
||||
world.Props["reflectionAssetRef"] == "texture.environment.reflection" &&
|
||||
world.Props["postProcessProfileAssetRef"] == "profile.environment.flight" &&
|
||||
world.Props["exposureMode"] == "histogram.v1" &&
|
||||
world.Props["exposureLowPercent"] == "47.37294" &&
|
||||
world.Props["exposureHighPercent"] == "99" &&
|
||||
world.Props["exposureMinimumEv"] == "-3" &&
|
||||
world.Props["exposureMaximumEv"] == "0.3" &&
|
||||
world.Props["exposureKeyValue"] == "0.5" &&
|
||||
world.Props["exposureAdaptation"] == "progressive" &&
|
||||
world.Props["exposureSpeedUp"] == "2" &&
|
||||
world.Props["exposureSpeedDown"] == "1" &&
|
||||
world.Props["cameraReconstruction"] == "temporal-reprojection.v1" &&
|
||||
world.Props["temporalQuality"] == "high" &&
|
||||
world.Props["temporalHistoryBlend"] == "0.99" &&
|
||||
|
|
|
|||
|
|
@ -9,6 +9,6 @@
|
|||
"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.58"
|
||||
"org.gamecult.eve.unity-scene": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.3.59"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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.58",
|
||||
"version": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.3.59",
|
||||
"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": "02203ff134570c301ce58969397c296ee14e69ee"
|
||||
"hash": "4d5257b8ca09767974e8eb350a9695191ec39fdc"
|
||||
},
|
||||
"com.unity.modules.assetbundle": {
|
||||
"version": "1.0.0",
|
||||
|
|
|
|||
|
|
@ -668,10 +668,10 @@ namespace Aetheria.Editor
|
|||
throw new InvalidOperationException("Aetheria flight profile has no serialized ACES tonemapping component.");
|
||||
if (!profile.TryGet(out ColorAdjustments color) ||
|
||||
!color.postExposure.overrideState ||
|
||||
!Mathf.Approximately(color.postExposure.value, 2f) ||
|
||||
!Mathf.Approximately(color.postExposure.value, 0f) ||
|
||||
!color.contrast.overrideState ||
|
||||
!Mathf.Approximately(color.contrast.value, 15f))
|
||||
throw new InvalidOperationException("Aetheria flight profile has no serialized exposure/contrast component.");
|
||||
throw new InvalidOperationException("Aetheria flight profile has no neutral exposure/contrast component.");
|
||||
if (!profile.TryGet(out Bloom bloom) ||
|
||||
!bloom.intensity.overrideState ||
|
||||
!Mathf.Approximately(bloom.intensity.value, 3f) ||
|
||||
|
|
|
|||
|
|
@ -23,10 +23,9 @@ namespace Aetheria.Editor
|
|||
tonemapping.mode.Override(TonemappingMode.ACES);
|
||||
|
||||
var color = VolumeProfileFactory.CreateVolumeComponent<ColorAdjustments>(profile, true, false);
|
||||
// The fossil histogram exposure clamps average luminance to 2^-3 and
|
||||
// uses a 0.5 middle-grey key. At that dark-scene bound the resulting
|
||||
// exposure is 4x, which is the fixed URP equivalent available here.
|
||||
color.postExposure.Override(2f);
|
||||
// Histogram exposure is lowered separately from the generic Eve
|
||||
// camera contract. The static profile must not become a second owner.
|
||||
color.postExposure.Override(0f);
|
||||
color.contrast.Override(15f);
|
||||
|
||||
var bloom = VolumeProfileFactory.CreateVolumeComponent<Bloom>(profile, true, false);
|
||||
|
|
|
|||
|
|
@ -651,6 +651,15 @@ namespace GameCult.Aetheria.State.Verse
|
|||
["reflectionAssetRef"] = "texture.environment.reflection",
|
||||
["reflectionIntensity"] = "1",
|
||||
["postProcessProfileAssetRef"] = "profile.environment.flight",
|
||||
["exposureMode"] = "histogram.v1",
|
||||
["exposureLowPercent"] = "47.37294",
|
||||
["exposureHighPercent"] = "99",
|
||||
["exposureMinimumEv"] = "-3",
|
||||
["exposureMaximumEv"] = "0.3",
|
||||
["exposureKeyValue"] = "0.5",
|
||||
["exposureAdaptation"] = "progressive",
|
||||
["exposureSpeedUp"] = "2",
|
||||
["exposureSpeedDown"] = "1",
|
||||
["cameraReconstruction"] = "temporal-reprojection.v1",
|
||||
["temporalQuality"] = "high",
|
||||
["temporalHistoryBlend"] = "0.99",
|
||||
|
|
|
|||
Loading…
Reference in a new issue