diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index ce771b08682..b8a4d1efaec 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -618,6 +618,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed the prefab integration of custom passes (Prefab Override Highlight not working as expected). - Cloned volume profile from read only assets are created in the root of the project. (case 1154961) - Fixed Wizard check on default volume profile to also check it is not the default one in package. +- Fix erroneous central depth sampling in TAA. ### Changed - Improve MIP selection for decals on Transparents diff --git a/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Shaders/TemporalAntialiasing.hlsl b/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Shaders/TemporalAntialiasing.hlsl index 5431c983054..a55a9af46c5 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Shaders/TemporalAntialiasing.hlsl +++ b/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Shaders/TemporalAntialiasing.hlsl @@ -257,7 +257,7 @@ float3 ConvertToOutputSpace(float3 color) // Front most neighbourhood velocity ([Karis 2014]) float2 GetClosestFragment(TEXTURE2D_X(DepthTexture), int2 positionSS) { - float center = LoadCameraDepth(positionSS); + float center = LOAD_TEXTURE2D_X_LOD(DepthTexture, positionSS, 0).r; int2 quadOffset = GetQuadOffset(positionSS);