From cbcf1af4573380e7bc9c4236caf70538f01fa210 Mon Sep 17 00:00:00 2001 From: Anis Benyoub Date: Mon, 15 Mar 2021 11:45:24 +0100 Subject: [PATCH] Reduced the maximal number of bounces for both RTGI and RTR (case 1318876). --- com.unity.render-pipelines.high-definition/CHANGELOG.md | 1 + .../Runtime/Lighting/GlobalIllumination.cs | 2 +- .../Lighting/ScreenSpaceLighting/ScreenSpaceReflection.cs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 44b090b82bd..3b163913f4c 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -142,6 +142,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Decreased the minimal Fog Distance value in the Density Volume to 0.05. - Virtual Texturing Resolver now performs RTHandle resize logic in HDRP instead of in core Unity - Cached the base types of Volume Manager to improve memory and cpu usage. +- Reduced the maximal number of bounces for both RTGI and RTR (case 1318876). ## [11.0.0] - 2020-10-21 diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/GlobalIllumination.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/GlobalIllumination.cs index d897eac2e90..54b74a8a087 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/GlobalIllumination.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/GlobalIllumination.cs @@ -159,7 +159,7 @@ public int upscaleRadius /// Number of bounces for evaluating the effect. /// [Tooltip("Number of bounces for GI.")] - public ClampedIntParameter bounceCount = new ClampedIntParameter(1, 1, 31); + public ClampedIntParameter bounceCount = new ClampedIntParameter(1, 1, 8); // Filtering /// diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/ScreenSpaceLighting/ScreenSpaceReflection.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/ScreenSpaceLighting/ScreenSpaceReflection.cs index 17bc3c7da39..073cb1df9f1 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/ScreenSpaceLighting/ScreenSpaceReflection.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/ScreenSpaceLighting/ScreenSpaceReflection.cs @@ -222,7 +222,7 @@ public bool fullResolution /// /// Number of bounces for reflection rays. /// - public ClampedIntParameter bounceCount = new ClampedIntParameter(1, 1, 31); + public ClampedIntParameter bounceCount = new ClampedIntParameter(1, 1, 8); /// /// Sets the maximum number of steps HDRP uses for raytracing. Affects both correctness and performance.