diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index a3be8b2c975..fcef4567008 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed specular occlusion sharpness and over darkening at grazing angles. - Fixed edge bleeding when rendering volumetric clouds. - Fixed the performance of the volumetric clouds in non-local mode when large occluders are on screen. +- Fixed a regression that broke punctual and directional raytraced shadows temporal denoiser (case 1360132). ### Changed - Visual Environment ambient mode is now Dynamic by default. diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDTemporalFilter.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDTemporalFilter.cs index 301d8a282dd..c95477f2ffc 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDTemporalFilter.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDTemporalFilter.cs @@ -433,6 +433,9 @@ public TemporalDenoiserArrayOutputData DenoiseBuffer(RenderGraph renderGraph, HD int numTilesX = (data.texWidth + (tfTileSize - 1)) / tfTileSize; int numTilesY = (data.texHeight + (tfTileSize - 1)) / tfTileSize; + // This variant of the function only supports full resolution + CoreUtils.SetKeyword(ctx.cmd, "FULL_RESOLUTION_INPUT", true); + // Now that we have validated our history, let's accumulate ctx.cmd.SetComputeTextureParam(data.temporalFilterCS, data.temporalAccKernel, HDShaderIDs._DenoiseInputTexture, data.noisyBuffer); ctx.cmd.SetComputeTextureParam(data.temporalFilterCS, data.temporalAccKernel, HDShaderIDs._HistoryBuffer, data.historyBuffer);