From a874f18427e4d0dcbfb4810212e063552909a12a Mon Sep 17 00:00:00 2001 From: FrancescoC-Unity Date: Thu, 17 Sep 2020 11:18:36 +0200 Subject: [PATCH 1/2] Have contact shadow on high quality. --- .../RenderPipeline/Settings/RenderPipelineSettings.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Settings/RenderPipelineSettings.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Settings/RenderPipelineSettings.cs index e71f318eeb1..685e444654b 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Settings/RenderPipelineSettings.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Settings/RenderPipelineSettings.cs @@ -115,6 +115,7 @@ public enum SupportedRayTracingMode xrSettings = GlobalXRSettings.NewDefault(), postProcessQualitySettings = GlobalPostProcessingQualitySettings.NewDefault(), lightingQualitySettings = GlobalLightingQualitySettings.NewDefault(), + lightSettings = LightSettings.NewDefault(), supportRayTracing = false, supportedRayTracingMode = SupportedRayTracingMode.Both, @@ -140,6 +141,12 @@ public struct LightSettings { /// Enable contact shadows. public BoolScalableSetting useContactShadow; + + internal static LightSettings NewDefault() => new LightSettings() + { + useContactShadow = new BoolScalableSetting(new[] { false, false, true }, ScalableSettingSchemaId.With3Levels) + }; + } // Lighting From 6ef7b13c7ab411417af816c66aecb5175835ee8c Mon Sep 17 00:00:00 2001 From: FrancescoC-Unity Date: Thu, 17 Sep 2020 11:21:09 +0200 Subject: [PATCH 2/2] changelog --- com.unity.render-pipelines.high-definition/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 98deeab0605..e3ac2f15b6c 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -77,6 +77,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fix for lookdev toggling renderers that are set to non editable or are hidden in the inspector. - Fixed issue with mipmap debug mode not properly resetting full screen mode (and viceversa). - Added unsupported message when using tile debug mode with MSAA. +- Light quality setting for contact shadow set to on for High quality by default. ### Changed - Preparation pass for RTSSShadows to be supported by render graph.