Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
b9da5fa
Hd/fix 1299116 tesselation cull (#3057)
kecho Jan 14, 2021
5b57f64
Change the source value for the ray tracing frame index iterator from…
anisunity Jan 14, 2021
b21345b
[HDRP] Added a RenderGraph pass that resets the camera size after the…
alelievr Jan 14, 2021
9581f38
Fix Light Intensity UI Prefab Override Application (1299563) (#3061)
johnpars Jan 14, 2021
525ebf5
Fix Undo/Redo Stability for Light Temperature (1304176, 1301076) (#3079)
johnpars Jan 14, 2021
8007c48
Fix labels style (#3046)
adrien-de-tocqueville Jan 14, 2021
2df0185
Fixed side effect on styles during compositor rendering. (#3081)
adrien-de-tocqueville Jan 14, 2021
bf833ce
[HDRP][Compositor] Fix size and spacing of compositor info boxes (#3101)
pmavridis Jan 14, 2021
7be5e6c
[HDRP][Compositor] Fix color picker UI glitch in the Graphics Composi…
pmavridis Jan 14, 2021
6413dc6
Fix 1299233 ies resize bug (#3094)
skhiat Jan 14, 2021
8998567
filter for xbone addded (#3116)
martint-unity Jan 15, 2021
027cb37
[Yamato] Enable cache server for standalone build jobs (#3106)
sophiaaar Jan 15, 2021
6429445
Fix undo redo on layered lit editor (#3059)
adrien-de-tocqueville Jan 15, 2021
d910dc8
Merge branch 'master' into hd/bugfix
sebastienlagarde Jan 15, 2021
9c216c8
[HDRP] Added Vulkan install in system requirements (#3122)
alelievr Jan 15, 2021
8dbde86
[HDRP] Fix issue with compositor related custom passes (#3055)
pmavridis Jan 15, 2021
a5a6590
Fixed some render texture leaks. (#3050)
JulienIgnace-Unity Jan 15, 2021
229f3e8
Hd/fix wizard runtime resources (#3123)
RSlysz Jan 15, 2021
0a42f9b
[HDRP] Fixed lookdev reload bug when viewing a scene object (#3108)
alelievr Jan 15, 2021
eb1d074
[HDRP] Fix error in Depth Of Field near radius blur calculation (#3131)
pmavridis Jan 15, 2021
22b5b7f
[HDRP] Fix GC allocs (#3136)
pmavridis Jan 15, 2021
8cd8fe6
Revert: Fix 1299233 ies resize bug (#3094)
sebastienlagarde Jan 15, 2021
9bcb75f
Merge branch 'master' into hd/bugfix
sebastienlagarde Jan 16, 2021
31defd2
Merge branch 'master' into hd/bugfix
sebastienlagarde Jan 16, 2021
6dffbc8
Hide light shadow near plane gizmo when shadows are disabled (#3114)
adrien-de-tocqueville Jan 16, 2021
9ba9620
Hd/fix backplate globalcubemap2 (#3111)
JulienIgnace-Unity Jan 18, 2021
b4214a4
[HDRP][Path Tracing] Added alpha channel to path traced results (#3127)
eturquin Jan 18, 2021
feb0fe0
Doc update (#3160)
JulienIgnace-Unity Jan 18, 2021
d315646
Merge branch 'master' into hd/bugfix
sebastienlagarde Jan 18, 2021
f9c97c1
Fix various shader warnings (#3158)
FrancescoC-unity Jan 18, 2021
316d6a6
Update Override-Screen-Space-GI.md
sebastienlagarde Jan 18, 2021
be8f685
Fixed shadow matte not working with ambient occlusion when MSAA is en…
sebastienlagarde Jan 18, 2021
44ba81f
Merge branch 'master' into hd/bugfix
sebastienlagarde Jan 18, 2021
4de9b07
Update HDLightUI.cs (#3203)
sebastienlagarde Jan 20, 2021
1557004
[HDRP] fix nullref when chaging RP from HDRP to URP (#3191)
alelievr Jan 20, 2021
acd6199
fix case 1307653 (#3205)
sebastienlagarde Jan 20, 2021
f18d053
Merge branch 'master' into hd/bugfix
sebastienlagarde Jan 21, 2021
abd7de7
Fix LookDev env library assignment after leaving playmode. (#3214)
JulienIgnace-Unity Jan 21, 2021
6349ef2
Update Hair Shader Preset Documentation (#3208)
johnpars Jan 21, 2021
cace53e
[HDRP] Fix locale diffusion profile shader property value in ShaderGr…
alelievr Jan 21, 2021
760837b
Fix error in the RTHandle scale of Depth Of Field when TAA is enabled…
pmavridis Jan 21, 2021
3f480bd
Reset to current quality settings after preprocess build in HDRP (#3218)
jenniferd-unity Jan 21, 2021
4c7dfb6
Merge branch 'master' into hd/bugfix
sebastienlagarde Jan 21, 2021
3b4b1fb
Have bilinear default (#3223)
FrancescoC-unity Jan 21, 2021
a890c49
Merge branch 'master' into hd/bugfix
sebastienlagarde Feb 1, 2021
4477283
Update CHANGELOG.md
sebastienlagarde Feb 1, 2021
3112950
Added missing character to the layered lit document (#3310)
JordanL8 Feb 1, 2021
ac55059
Fix needs of exposure for debug display "SSR Transparent" (#3308)
skhiat Feb 1, 2021
bc0aa7d
[HDRP] Fix GUI exception in material UI (#3315)
alelievr Feb 1, 2021
bd14960
Add additional data components to model prefab on import
adrien-de-tocqueville Feb 1, 2021
c34ba38
[HDRP] Update decal angle fade tooltip (#3322)
alelievr Feb 1, 2021
1f827f1
Mention in TAA doc that a certain use case will lead to problems. (#3…
FrancescoC-unity Feb 1, 2021
fe86016
Hide shadow resolution value (#3335)
adrien-de-tocqueville Feb 1, 2021
7a6ec1e
Bump timer of 2nd runtime test to make it work on all platforms. (#3…
FrancescoC-unity Feb 2, 2021
b84c14b
Fix light frustum planes (#3341)
adrien-de-tocqueville Feb 2, 2021
2cc4b51
Project skybox without perspective for ortho cameras (#2955)
adrien-de-tocqueville Feb 2, 2021
6864596
Merge branch 'hd/bugfix' into hd/fix-additional-data-editor
sebastienlagarde Feb 2, 2021
ae4fb59
Add postprocessor to URP
adrien-de-tocqueville Feb 3, 2021
aec32c3
Fix typo
adrien-de-tocqueville Feb 3, 2021
6455d8a
Remove test on asset
adrien-de-tocqueville Feb 3, 2021
5165f75
Fix namespace
adrien-de-tocqueville Feb 3, 2021
4993b06
Fix typo
adrien-de-tocqueville Feb 4, 2021
fd11167
Merge branch 'master' into hd/fix-additional-data-editor
sebastienlagarde Feb 5, 2021
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
21 changes: 21 additions & 0 deletions com.unity.render-pipelines.core/Editor/CoreEditorUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,27 @@ public static T[] GetAdditionalData<T>(UnityEngine.Object[] targets, Action<T> i
return data;
}

/// <summary>Add the appropriate AdditionalData to the given GameObject and its children containing the original component</summary>
/// <typeparam name="T">The type of the original component</typeparam>
/// <typeparam name="AdditionalT">The type of the AdditionalData component</typeparam>
/// <param name="go">The root object to update</param>
/// <param name="initDefault">[Optional] The default value to use if there is no AdditionalData</param>
public static void AddAdditionalData<T, AdditionalT>(GameObject go, Action<AdditionalT> initDefault = null)
where T : Component
where AdditionalT : Component
{
var components = go.GetComponentsInChildren(typeof(T), true);
foreach (var c in components)
{
if (!c.TryGetComponent<AdditionalT>(out _))
{
var hd = c.gameObject.AddComponent<AdditionalT>();
if (initDefault != null)
initDefault(hd);
}
}
}

/// <summary>Create a game object</summary>
/// <param name="parent">The parent</param>
/// <param name="name">The wanted name (can be updated with a number if a sibling with same name exist</param>
Expand Down
1 change: 1 addition & 0 deletions com.unity.render-pipelines.high-definition/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Fixed material keywords with fbx importer.
- Fixed lightmaps not working properly with shader graphs in ray traced reflections (case 1305335).
- Fixed skybox for ortho cameras.
- Fixed model import by adding additional data if needed.

### Changed
- Removed the material pass probe volumes evaluation mode.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.HighDefinition;

namespace UnityEditor.Rendering.HighDefinition
{
class ModelPostprocessor : AssetPostprocessor
{
void OnPostprocessModel(GameObject go)
{
CoreEditorUtils.AddAdditionalData<Camera, HDAdditionalCameraData>(go, HDAdditionalCameraData.InitDefaultHDAdditionalCameraData);
CoreEditorUtils.AddAdditionalData<Light, HDAdditionalLightData>(go, HDAdditionalLightData.InitDefaultHDAdditionalLightData);
CoreEditorUtils.AddAdditionalData<ReflectionProbe, HDAdditionalReflectionData>(go);
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;

namespace UnityEditor.Rendering.Universal
{
class ModelPostprocessor : AssetPostprocessor
{
void OnPostprocessModel(GameObject go)
{
CoreEditorUtils.AddAdditionalData<Camera, UniversalAdditionalCameraData>(go);
CoreEditorUtils.AddAdditionalData<Light, UniversalAdditionalLightData>(go);
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.