diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md
index 80c808ee6f8..70b36b0147d 100644
--- a/com.unity.render-pipelines.high-definition/CHANGELOG.md
+++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md
@@ -114,6 +114,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Modified HDRP to use common FSR logic from SRP core.
- Optimized FSR by merging the RCAS logic into the FinalPass shader.
- Integrate a help box to inform users of the potential dependency to directional lights when baking.
+- Changed default numbder of physically based sky bounce from 8 to 3
## [13.1.0] - 2021-09-24
diff --git a/com.unity.render-pipelines.high-definition/Editor/SceneTemplates/Outdoors/SkyandFogSettingsProfile.asset b/com.unity.render-pipelines.high-definition/Editor/SceneTemplates/Outdoors/SkyandFogSettingsProfile.asset
index b60f94a79e6..2a7f356d5fa 100644
--- a/com.unity.render-pipelines.high-definition/Editor/SceneTemplates/Outdoors/SkyandFogSettingsProfile.asset
+++ b/com.unity.render-pipelines.high-definition/Editor/SceneTemplates/Outdoors/SkyandFogSettingsProfile.asset
@@ -13,12 +13,9 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
active: 1
- m_AdvancedMode: 0
rotation:
m_OverrideState: 0
m_Value: 0
- min: 0
- max: 360
skyIntensityMode:
m_OverrideState: 0
m_Value: 0
@@ -28,11 +25,9 @@ MonoBehaviour:
multiplier:
m_OverrideState: 0
m_Value: 1
- min: 0
upperHemisphereLuxValue:
m_OverrideState: 0
m_Value: 1
- min: 0
upperHemisphereLuxColor:
m_OverrideState: 0
m_Value: {x: 0, y: 0, z: 0}
@@ -45,14 +40,9 @@ MonoBehaviour:
updatePeriod:
m_OverrideState: 0
m_Value: 0
- min: 0
includeSunInBaking:
m_OverrideState: 0
m_Value: 0
- m_SkyVersion: 1
- m_ObsoleteEarthPreset:
- m_OverrideState: 0
- m_Value: 1
type:
m_OverrideState: 0
m_Value: 1
@@ -65,66 +55,42 @@ MonoBehaviour:
planetaryRadius:
m_OverrideState: 0
m_Value: 6378100
- min: 0
planetCenterPosition:
m_OverrideState: 0
m_Value: {x: 0, y: -6378100, z: 0}
airDensityR:
m_OverrideState: 0
m_Value: 0.04534
- min: 0
- max: 1
airDensityG:
m_OverrideState: 0
m_Value: 0.10237241
- min: 0
- max: 1
airDensityB:
m_OverrideState: 0
m_Value: 0.23264056
- min: 0
- max: 1
airTint:
m_OverrideState: 0
m_Value: {r: 0.9, g: 0.9, b: 1, a: 1}
- hdr: 0
- showAlpha: 0
- showEyeDropper: 1
airMaximumAltitude:
m_OverrideState: 0
m_Value: 55261.973
- min: 0
aerosolDensity:
m_OverrideState: 0
m_Value: 0.01192826
- min: 0
- max: 1
aerosolTint:
m_OverrideState: 0
m_Value: {r: 0.9, g: 0.9, b: 0.9, a: 1}
- hdr: 0
- showAlpha: 0
- showEyeDropper: 1
aerosolMaximumAltitude:
m_OverrideState: 0
m_Value: 8289.296
- min: 0
aerosolAnisotropy:
m_OverrideState: 0
m_Value: 0
- min: -1
- max: 1
numberOfBounces:
m_OverrideState: 0
- m_Value: 8
- min: 1
- max: 10
+ m_Value: 3
groundTint:
m_OverrideState: 1
m_Value: {r: 0.122641504, g: 0.1043775, b: 0.09313812, a: 1}
- hdr: 0
- showAlpha: 0
- showEyeDropper: 0
groundColorTexture:
m_OverrideState: 0
m_Value: {fileID: 0}
@@ -134,7 +100,6 @@ MonoBehaviour:
groundEmissionMultiplier:
m_OverrideState: 0
m_Value: 1
- min: 0
planetRotation:
m_OverrideState: 0
m_Value: {x: 0, y: 0, z: 0}
@@ -144,42 +109,31 @@ MonoBehaviour:
spaceEmissionMultiplier:
m_OverrideState: 0
m_Value: 1
- min: 0
spaceRotation:
m_OverrideState: 0
m_Value: {x: 0, y: 0, z: 0}
colorSaturation:
m_OverrideState: 0
m_Value: 1
- min: 0
- max: 1
alphaSaturation:
m_OverrideState: 0
m_Value: 1
- min: 0
- max: 1
alphaMultiplier:
m_OverrideState: 0
m_Value: 1
- min: 0
- max: 1
horizonTint:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
- hdr: 0
- showAlpha: 0
- showEyeDropper: 0
zenithTint:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
- hdr: 0
- showAlpha: 0
- showEyeDropper: 0
horizonZenithShift:
m_OverrideState: 0
m_Value: 0
- min: -1
- max: 1
+ m_SkyVersion: 1
+ m_ObsoleteEarthPreset:
+ m_OverrideState: 0
+ m_Value: 1
--- !u!114 &-4151792930034644520
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -193,7 +147,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
active: 1
- m_AdvancedMode: 0
quality:
m_OverrideState: 0
m_Value: 1
@@ -206,32 +159,21 @@ MonoBehaviour:
color:
m_OverrideState: 0
m_Value: {r: 0.5, g: 0.5, b: 0.5, a: 1}
- hdr: 1
- showAlpha: 0
- showEyeDropper: 1
tint:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
- hdr: 1
- showAlpha: 0
- showEyeDropper: 1
maxFogDistance:
m_OverrideState: 0
m_Value: 5000
- min: 0
mipFogMaxMip:
m_OverrideState: 0
m_Value: 0.5
- min: 0
- max: 1
mipFogNear:
m_OverrideState: 0
m_Value: 0
- min: 0
mipFogFar:
m_OverrideState: 0
m_Value: 1000
- min: 0
baseHeight:
m_OverrideState: 0
m_Value: 0
@@ -241,61 +183,42 @@ MonoBehaviour:
meanFreePath:
m_OverrideState: 0
m_Value: 400
- min: 1
enableVolumetricFog:
m_OverrideState: 1
m_Value: 1
albedo:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
- hdr: 0
- showAlpha: 1
- showEyeDropper: 1
globalLightProbeDimmer:
m_OverrideState: 0
m_Value: 1
- min: 0
- max: 1
depthExtent:
m_OverrideState: 0
m_Value: 64
- min: 0.1
denoisingMode:
m_OverrideState: 0
m_Value: 2
anisotropy:
m_OverrideState: 1
m_Value: 0.65
- min: -1
- max: 1
sliceDistributionUniformity:
m_OverrideState: 0
m_Value: 0.75
- min: 0
- max: 1
m_FogControlMode:
m_OverrideState: 0
m_Value: 0
screenResolutionPercentage:
m_OverrideState: 0
m_Value: 12.5
- min: 6.25
- max: 100
volumeSliceCount:
m_OverrideState: 0
m_Value: 64
- min: 1
- max: 1024
m_VolumetricFogBudget:
m_OverrideState: 0
m_Value: 0.33
- min: 0
- max: 1
m_ResolutionDepthRatio:
m_OverrideState: 0
m_Value: 0.666
- min: 0
- max: 1
directionalLightsOnly:
m_OverrideState: 0
m_Value: 0
@@ -329,13 +252,21 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
active: 1
- m_AdvancedMode: 0
skyType:
m_OverrideState: 1
m_Value: 4
+ cloudType:
+ m_OverrideState: 0
+ m_Value: 0
skyAmbientMode:
m_OverrideState: 1
m_Value: 0
+ windOrientation:
+ m_OverrideState: 0
+ m_Value: 0
+ windSpeed:
+ m_OverrideState: 0
+ m_Value: 100
fogType:
m_OverrideState: 1
m_Value: 0
@@ -352,7 +283,6 @@ MonoBehaviour:
m_Name: Exposure
m_EditorClassIdentifier:
active: 1
- m_AdvancedMode: 0
mode:
m_OverrideState: 1
m_Value: 4
@@ -458,19 +388,15 @@ MonoBehaviour:
adaptationSpeedDarkToLight:
m_OverrideState: 0
m_Value: 3
- min: 0.001
adaptationSpeedLightToDark:
m_OverrideState: 0
m_Value: 1
- min: 0.001
weightTextureMask:
m_OverrideState: 0
m_Value: {fileID: 0}
histogramPercentages:
m_OverrideState: 0
m_Value: {x: 40, y: 90}
- min: 0
- max: 100
histogramUseCurveRemapping:
m_OverrideState: 0
m_Value: 0
@@ -495,4 +421,3 @@ MonoBehaviour:
proceduralSoftness:
m_OverrideState: 0
m_Value: 0.5
- min: 0
diff --git a/com.unity.render-pipelines.high-definition/Editor/SceneTemplates/OutdoorsDXR/SkyandFogSettingsProfile.asset b/com.unity.render-pipelines.high-definition/Editor/SceneTemplates/OutdoorsDXR/SkyandFogSettingsProfile.asset
index b60f94a79e6..2a7f356d5fa 100644
--- a/com.unity.render-pipelines.high-definition/Editor/SceneTemplates/OutdoorsDXR/SkyandFogSettingsProfile.asset
+++ b/com.unity.render-pipelines.high-definition/Editor/SceneTemplates/OutdoorsDXR/SkyandFogSettingsProfile.asset
@@ -13,12 +13,9 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
active: 1
- m_AdvancedMode: 0
rotation:
m_OverrideState: 0
m_Value: 0
- min: 0
- max: 360
skyIntensityMode:
m_OverrideState: 0
m_Value: 0
@@ -28,11 +25,9 @@ MonoBehaviour:
multiplier:
m_OverrideState: 0
m_Value: 1
- min: 0
upperHemisphereLuxValue:
m_OverrideState: 0
m_Value: 1
- min: 0
upperHemisphereLuxColor:
m_OverrideState: 0
m_Value: {x: 0, y: 0, z: 0}
@@ -45,14 +40,9 @@ MonoBehaviour:
updatePeriod:
m_OverrideState: 0
m_Value: 0
- min: 0
includeSunInBaking:
m_OverrideState: 0
m_Value: 0
- m_SkyVersion: 1
- m_ObsoleteEarthPreset:
- m_OverrideState: 0
- m_Value: 1
type:
m_OverrideState: 0
m_Value: 1
@@ -65,66 +55,42 @@ MonoBehaviour:
planetaryRadius:
m_OverrideState: 0
m_Value: 6378100
- min: 0
planetCenterPosition:
m_OverrideState: 0
m_Value: {x: 0, y: -6378100, z: 0}
airDensityR:
m_OverrideState: 0
m_Value: 0.04534
- min: 0
- max: 1
airDensityG:
m_OverrideState: 0
m_Value: 0.10237241
- min: 0
- max: 1
airDensityB:
m_OverrideState: 0
m_Value: 0.23264056
- min: 0
- max: 1
airTint:
m_OverrideState: 0
m_Value: {r: 0.9, g: 0.9, b: 1, a: 1}
- hdr: 0
- showAlpha: 0
- showEyeDropper: 1
airMaximumAltitude:
m_OverrideState: 0
m_Value: 55261.973
- min: 0
aerosolDensity:
m_OverrideState: 0
m_Value: 0.01192826
- min: 0
- max: 1
aerosolTint:
m_OverrideState: 0
m_Value: {r: 0.9, g: 0.9, b: 0.9, a: 1}
- hdr: 0
- showAlpha: 0
- showEyeDropper: 1
aerosolMaximumAltitude:
m_OverrideState: 0
m_Value: 8289.296
- min: 0
aerosolAnisotropy:
m_OverrideState: 0
m_Value: 0
- min: -1
- max: 1
numberOfBounces:
m_OverrideState: 0
- m_Value: 8
- min: 1
- max: 10
+ m_Value: 3
groundTint:
m_OverrideState: 1
m_Value: {r: 0.122641504, g: 0.1043775, b: 0.09313812, a: 1}
- hdr: 0
- showAlpha: 0
- showEyeDropper: 0
groundColorTexture:
m_OverrideState: 0
m_Value: {fileID: 0}
@@ -134,7 +100,6 @@ MonoBehaviour:
groundEmissionMultiplier:
m_OverrideState: 0
m_Value: 1
- min: 0
planetRotation:
m_OverrideState: 0
m_Value: {x: 0, y: 0, z: 0}
@@ -144,42 +109,31 @@ MonoBehaviour:
spaceEmissionMultiplier:
m_OverrideState: 0
m_Value: 1
- min: 0
spaceRotation:
m_OverrideState: 0
m_Value: {x: 0, y: 0, z: 0}
colorSaturation:
m_OverrideState: 0
m_Value: 1
- min: 0
- max: 1
alphaSaturation:
m_OverrideState: 0
m_Value: 1
- min: 0
- max: 1
alphaMultiplier:
m_OverrideState: 0
m_Value: 1
- min: 0
- max: 1
horizonTint:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
- hdr: 0
- showAlpha: 0
- showEyeDropper: 0
zenithTint:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
- hdr: 0
- showAlpha: 0
- showEyeDropper: 0
horizonZenithShift:
m_OverrideState: 0
m_Value: 0
- min: -1
- max: 1
+ m_SkyVersion: 1
+ m_ObsoleteEarthPreset:
+ m_OverrideState: 0
+ m_Value: 1
--- !u!114 &-4151792930034644520
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -193,7 +147,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
active: 1
- m_AdvancedMode: 0
quality:
m_OverrideState: 0
m_Value: 1
@@ -206,32 +159,21 @@ MonoBehaviour:
color:
m_OverrideState: 0
m_Value: {r: 0.5, g: 0.5, b: 0.5, a: 1}
- hdr: 1
- showAlpha: 0
- showEyeDropper: 1
tint:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
- hdr: 1
- showAlpha: 0
- showEyeDropper: 1
maxFogDistance:
m_OverrideState: 0
m_Value: 5000
- min: 0
mipFogMaxMip:
m_OverrideState: 0
m_Value: 0.5
- min: 0
- max: 1
mipFogNear:
m_OverrideState: 0
m_Value: 0
- min: 0
mipFogFar:
m_OverrideState: 0
m_Value: 1000
- min: 0
baseHeight:
m_OverrideState: 0
m_Value: 0
@@ -241,61 +183,42 @@ MonoBehaviour:
meanFreePath:
m_OverrideState: 0
m_Value: 400
- min: 1
enableVolumetricFog:
m_OverrideState: 1
m_Value: 1
albedo:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
- hdr: 0
- showAlpha: 1
- showEyeDropper: 1
globalLightProbeDimmer:
m_OverrideState: 0
m_Value: 1
- min: 0
- max: 1
depthExtent:
m_OverrideState: 0
m_Value: 64
- min: 0.1
denoisingMode:
m_OverrideState: 0
m_Value: 2
anisotropy:
m_OverrideState: 1
m_Value: 0.65
- min: -1
- max: 1
sliceDistributionUniformity:
m_OverrideState: 0
m_Value: 0.75
- min: 0
- max: 1
m_FogControlMode:
m_OverrideState: 0
m_Value: 0
screenResolutionPercentage:
m_OverrideState: 0
m_Value: 12.5
- min: 6.25
- max: 100
volumeSliceCount:
m_OverrideState: 0
m_Value: 64
- min: 1
- max: 1024
m_VolumetricFogBudget:
m_OverrideState: 0
m_Value: 0.33
- min: 0
- max: 1
m_ResolutionDepthRatio:
m_OverrideState: 0
m_Value: 0.666
- min: 0
- max: 1
directionalLightsOnly:
m_OverrideState: 0
m_Value: 0
@@ -329,13 +252,21 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
active: 1
- m_AdvancedMode: 0
skyType:
m_OverrideState: 1
m_Value: 4
+ cloudType:
+ m_OverrideState: 0
+ m_Value: 0
skyAmbientMode:
m_OverrideState: 1
m_Value: 0
+ windOrientation:
+ m_OverrideState: 0
+ m_Value: 0
+ windSpeed:
+ m_OverrideState: 0
+ m_Value: 100
fogType:
m_OverrideState: 1
m_Value: 0
@@ -352,7 +283,6 @@ MonoBehaviour:
m_Name: Exposure
m_EditorClassIdentifier:
active: 1
- m_AdvancedMode: 0
mode:
m_OverrideState: 1
m_Value: 4
@@ -458,19 +388,15 @@ MonoBehaviour:
adaptationSpeedDarkToLight:
m_OverrideState: 0
m_Value: 3
- min: 0.001
adaptationSpeedLightToDark:
m_OverrideState: 0
m_Value: 1
- min: 0.001
weightTextureMask:
m_OverrideState: 0
m_Value: {fileID: 0}
histogramPercentages:
m_OverrideState: 0
m_Value: {x: 40, y: 90}
- min: 0
- max: 100
histogramUseCurveRemapping:
m_OverrideState: 0
m_Value: 0
@@ -495,4 +421,3 @@ MonoBehaviour:
proceduralSoftness:
m_OverrideState: 0
m_Value: 0.5
- min: 0
diff --git a/com.unity.render-pipelines.high-definition/Runtime/Sky/PhysicallyBasedSky/PhysicallyBasedSky.cs b/com.unity.render-pipelines.high-definition/Runtime/Sky/PhysicallyBasedSky/PhysicallyBasedSky.cs
index 52c0c81b2df..616e13df028 100644
--- a/com.unity.render-pipelines.high-definition/Runtime/Sky/PhysicallyBasedSky/PhysicallyBasedSky.cs
+++ b/com.unity.render-pipelines.high-definition/Runtime/Sky/PhysicallyBasedSky/PhysicallyBasedSky.cs
@@ -113,7 +113,7 @@ public partial class PhysicallyBasedSky : SkySettings
/// Number of scattering events.
[Tooltip("Sets the number of scattering events. This increases the quality of the sky visuals but also increases the pre-computation time.")]
- public ClampedIntParameter numberOfBounces = new ClampedIntParameter(8, 1, 10);
+ public ClampedIntParameter numberOfBounces = new ClampedIntParameter(3, 1, 10);
/// Ground tint.
[Tooltip("Specifies a color that HDRP uses to tint the Ground Color Texture.")]