From a7dff33413dd168e59c84f754ed18fe5147f67bb Mon Sep 17 00:00:00 2001 From: Anis Benyoub Date: Mon, 16 Aug 2021 11:05:00 +0200 Subject: [PATCH] Fixed the fallback sun for volumetric clouds having a non null intensity (case 1353955). --- com.unity.render-pipelines.high-definition/CHANGELOG.md | 1 + .../VolumetricLighting/HDRenderPipeline.VolumetricClouds.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 6cd7f186891..975d88ef7c6 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -365,6 +365,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed an inconsistency between perf mode and quality mode for material simplification in RTGI (case 1350590). - Fixed an issue that clamped the volumetric clouds offset value (case 1357318). - Fixed the volumetric clouds having no control over the vertical wind (case 1354920). +- Fixed the fallback sun for volumetric clouds having a non null intensity (case 1353955). ### Changed - Changed Window/Render Pipeline/HD Render Pipeline Wizard to Window/Rendering/HDRP Wizard diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/HDRenderPipeline.VolumetricClouds.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/HDRenderPipeline.VolumetricClouds.cs index 2a4bd1ebb27..ae0ad1a0634 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/HDRenderPipeline.VolumetricClouds.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/VolumetricLighting/HDRenderPipeline.VolumetricClouds.cs @@ -406,7 +406,7 @@ void UpdateShaderVariableslClouds(ref ShaderVariablesClouds cb, HDCamera hdCamer cb._SunRight = Vector3.right; cb._SunUp = Vector3.forward; - cb._SunLightColor = Vector3.one; + cb._SunLightColor = Vector3.zero; cb._ExposureSunColor = 0; }