Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion com.unity.render-pipelines.high-definition/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# Changelog
# Changelog
All notable changes to this package will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed

- Fixed issue with culling layer mask of area light's emissive mesh.

## [7.4.0] - 2020-05-22

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2350,6 +2350,11 @@ void OnValidate()
DisableCachedShadowSlot();
m_ShadowMapRenderedSinceLastRequest = false;

if (emissiveMeshRenderer != null && !emissiveMeshRenderer.Equals(null))
{
emissiveMeshRenderer.gameObject.layer = m_AreaLightEmissiveMeshLayer;
}

#if UNITY_EDITOR
// If modification are due to change on prefab asset that are non overridden on this prefab instance
if (PrefabUtility.IsPartOfPrefabInstance(this) && ((PrefabUtility.GetCorrespondingObjectFromOriginalSource(this) as HDAdditionalLightData)?.needRefreshPrefabInstanceEmissiveMeshes ?? false))
Expand Down