diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 4ddd91a85ba..b3253f7174e 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -149,6 +149,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed a NaN generating in Area light code. - Fix potential NaN on apply distortion pass. - Fixed the camera controller in the template with the old input system (case 1326816). +- Fixed broken Lanczos filter artifacts on ps4, caused by a very aggressive epsilon (case 1328904) ### Changed - Changed Window/Render Pipeline/HD Render Pipeline Wizard to Window/Rendering/HDRP Wizard diff --git a/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Shaders/RTUpscale.hlsl b/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Shaders/RTUpscale.hlsl index 6f81a264682..7a0ff2b6257 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Shaders/RTUpscale.hlsl +++ b/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Shaders/RTUpscale.hlsl @@ -43,7 +43,7 @@ void WeightedAcc(CTYPE value, float weight, inout CTYPE accumulated, inout float // TODO: Revisit derivation. CTYPE Lanczos(TEXTURE2D_X(_InputTexture), float2 inUV, float2 textureSize) { - const float epsilon = 0.0000000001; + const float epsilon = 1e-6; const float a = 3.0; // Lanczos 3 float2 TexSize = textureSize.xy;