diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 80e4923bf19..93700888716 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -90,6 +90,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed for lookdev library field not being refreshed upon opening a library from the environment library inspector. - Fixed serialization issue with matcap scale intensity. - Close Add Override popup of Volume Inspector when the popup looses focus (case 1258571) +- 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. 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