From 0de9ac78b98ace6be9c4c93bc926e6f4f4942dd5 Mon Sep 17 00:00:00 2001 From: Antoine Lelievre Date: Wed, 29 Sep 2021 16:03:56 +0200 Subject: [PATCH 1/2] Fix exposure compensation for probe volume debug --- .../Runtime/Lighting/ProbeVolume/ProbeReferenceVolume.Debug.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeReferenceVolume.Debug.cs b/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeReferenceVolume.Debug.cs index 6f5d82c0d4e..095d4cd1ae1 100644 --- a/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeReferenceVolume.Debug.cs +++ b/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume/ProbeReferenceVolume.Debug.cs @@ -225,7 +225,7 @@ void DrawProbeDebug(Camera camera) var probeBuffer = debug.probeBuffers[i]; var props = debug.props[i]; props.SetInt("_ShadingMode", (int)debugDisplay.probeShading); - props.SetFloat("_ExposureCompensation", -debugDisplay.exposureCompensation); + props.SetFloat("_ExposureCompensation", debugDisplay.exposureCompensation); props.SetFloat("_ProbeSize", debugDisplay.probeSize); props.SetFloat("_CullDistance", debugDisplay.probeCullingDistance); props.SetInt("_MaxAllowedSubdiv", debugDisplay.maxSubdivToVisualize); From f7c45458527123c1a833c4f01d80439096113f7c Mon Sep 17 00:00:00 2001 From: Antoine Lelievre Date: Wed, 29 Sep 2021 16:04:23 +0200 Subject: [PATCH 2/2] Updated changelog --- com.unity.render-pipelines.high-definition/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index f3357e9cbd1..9bfb6f5791a 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -56,6 +56,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed the volume not being assigned on some scene templates. - Fixed corruption in player with lightmap uv when Optimize Mesh Data is enabled [1357902] - Fixed a warning to Rendering Debugger Runtime UI when debug shaders are stripped. +- Fixed Probe volume debug exposure compensation to match the Lighting debug one. ### Changed - Visual Environment ambient mode is now Dynamic by default.