Skip to content

Commit 6f7cbbb

Browse files
Enable Light Baking Cookies by default + Warning - part 3 #79
1 parent 0f446dd commit 6f7cbbb

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

com.unity.render-pipelines.high-definition/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6868
- Rejecting history for ray traced reflections based on a threshold evaluated on the neighborhood of the sampled history.
6969
- Renamed "Environment" to "Reflection Probes" in tile/cluster debug menu.
7070
- Debug exposure in debug menu have been replace to debug exposure compensation in EV100 space and is always visible.
71+
- Cookie are now supported in lightmaper. All lights casting cookie and baked will now include cookie influence.
7172

7273
## [7.3.0] - 2020-03-11
7374

com.unity.render-pipelines.high-definition/Documentation~/Upgrading-from-2019.3-to-2020.1.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ In the High Definition Render Pipeline (HDRP), some features work differently be
55
## Scene View Camera Settings
66

77
From Unity 2020.1, the HDRP-specific settings of the scene view camera (anti-aliasing mode and stop NaNs) can be found in the same pop-up window as the standard scene camera settings, which are accessible by clicking the scene camera button on the toolbar of the scene window. These settings were previously in the HDRP preferences window (Edit > Preferences).
8+
9+
## Cookie baking
10+
11+
From Unity 2020.1, Cookie on light are not taken into account for the lightmaps / Lightprobes. This support is always enable with HDRP.

com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ internal static Volume GetOrCreateDefaultVolume()
104104
readonly XRSystem m_XRSystem;
105105

106106
bool m_FrameSettingsHistoryEnabled = false;
107+
#if UNITY_EDITOR
107108
bool m_PreviousDisableCookieForLightBaking = false;
109+
#endif
108110

109111
/// <summary>
110112
/// This functions allows the user to have an approximation of the number of rays that were traced for a given frame.

0 commit comments

Comments
 (0)