diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index c47da5acd7b..11897099607 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -1,4 +1,4 @@ -# Changelog +# Changelog All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) @@ -760,6 +760,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fix several issues with physically-based DoF (TAA ghosting of the CoC buffer, smooth layer transitions, etc) - Fixed CoatMask block appearing when creating lit master node (case 1264632) - Fixed issue with SceneEV100 debug mode indicator when rescaling the window. +- Fixed issue with PCSS filter being wrong on first frame. ### Changed - Improve MIP selection for decals on Transparents diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/Light/HDAdditionalLightData.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/Light/HDAdditionalLightData.cs index 8511f62f016..fe25ab9fd98 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/Light/HDAdditionalLightData.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/Light/HDAdditionalLightData.cs @@ -2021,6 +2021,8 @@ internal int UpdateShadowRequest(HDCamera hdCamera, HDShadowManager manager, HDS if (shadowRequestIndex == -1) continue; + shadowRequest.atlasViewport = resolutionRequest.atlasViewport; + if (!shadowNeedsRendering) { shadowRequest.cachedShadowData.cacheTranslationDelta = cameraPos - m_CachedViewPos; @@ -2080,7 +2082,6 @@ internal int UpdateShadowRequest(HDCamera hdCamera, HDShadowManager manager, HDS SetCommonShadowRequestSettings(shadowRequest, visibleLight, cameraPos, invViewProjection, viewportSize, lightIndex, lightType, filteringQuality); } - shadowRequest.atlasViewport = resolutionRequest.atlasViewport; manager.UpdateShadowRequest(shadowRequestIndex, shadowRequest, shadowIsInCachedSystem); if(shadowIsInCachedSystem && shadowNeedsRendering)