You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: com.unity.render-pipelines.high-definition/Documentation~/Material-Upgrade.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,4 +18,4 @@ Please note that if a version control system that requires check out operations
18
18
In case the above process fails and a material is not working as expected when upgrading HDRP version, it is suggested to run the upgrade process manually. To do so, you can either:
19
19
20
20
- Open the [Render Pipeline Wizard](Render-Pipeline-Wizard.html) and under the **Project Migration Quick-links** click on the Upgrade HDRP Materials to Latest Version button. Or:
Copy file name to clipboardExpand all lines: com.unity.render-pipelines.high-definition/Documentation~/Render-Pipeline-Wizard.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,9 +93,9 @@ Note that every **Fix** will be deactivated if your Hardware or OS do not suppor
93
93
94
94
## Project Migration Quick-links
95
95
96
-
When upgrading a project from the built-in render pipeline to HDRP, you need to do upgrade your Lights and your Materials. Use the following utility functions to help with the upgrade process:
96
+
When upgrading a project from the built-in render pipeline to HDRP, you need to do upgrade your Materials. Use the following utility functions to help with the upgrade process:
97
97
98
98
-**Upgrade Project Materials to High Definition Materials**: Upgrades every Material in your Unity Project to HDRP Materials.
99
99
-**Upgrade Selected Materials to High Definition Materials**: Upgrades every Material currently selected to HDRP Materials.
100
-
-**Multiply Unity Builtin Directional Light Intensity to match High Definition**: Multiply intensity of each Directional Light in the current Scene to match HDRP compatible intensity values. Caution: This script should be executed only once.
101
100
101
+
The lighting will not match as HDRP use a different attenuation function than built-in and use correct math to handle lighting model. There is no function that can convert the look. Thus the lighting will require to be redone.
EditorGUILayout.HelpBox("Use \"Edit > Render Pipeline > Render Selected Camera to Log EXR\" to export a log-encoded frame for external grading.",MessageType.Info);
128
+
EditorGUILayout.HelpBox("Use \"Edit > Render Pipeline > HD Render Pipeline > Render Selected Camera to Log EXR\" to export a log-encoded frame for external grading.",MessageType.Info);
129
129
}
130
130
}
131
131
@@ -142,7 +142,7 @@ void CheckCurveRT(int width, int height)
142
142
143
143
sealedclassExrExportMenu
144
144
{
145
-
[MenuItem("Edit/Render Pipeline/Render Selected Camera to Log EXR %#&e",priority=CoreUtils.editMenuPriority3)]
145
+
[MenuItem("Edit/Render Pipeline/HD Render Pipeline/Render Selected Camera to Log EXR %#&e")]
if(!EditorUtility.DisplayDialog(DialogText.title,"This will upgrade all Volume Profiles containing Exponential or Volumetric Fog components to the new Fog component. "+DialogText.projectBackMessage,DialogText.proceed,DialogText.cancel))
if(EditorUtility.DisplayCancelableProgressBar("Upgrade Fog Volume Components",string.Format("({0} of {1}) {2}",profileIndex,profileCount,assetPath),(float)profileIndex/(float)profileCount))
if(!EditorUtility.DisplayDialog(DialogText.title,"This will upgrade all Volume Profiles containing Sky components with the new intensity mode paradigm. "+DialogText.projectBackMessage,DialogText.proceed,DialogText.cancel))
// We now do this automatically when upgrading Material version, so not required anymore - keep it in case you want to manually do it
367
220
// The goal of this script is to help maintenance of data that have already been produced but need to update to the latest shader code change.
368
221
// In case the shader code have change and the inspector have been update with new kind of keywords we need to regenerate the set of keywords use by the material.
369
222
// This script will remove all keyword of a material and trigger the inspector that will re-setup all the used keywords.
370
223
// It require that the inspector of the material have a static function call that update all keyword based on material properties.
371
-
[MenuItem("Edit/Render Pipeline/Reset All Loaded High Definition Materials Keywords",priority=CoreUtils.editMenuPriority3)]
224
+
// [MenuItem("Edit/Render Pipeline/HD Render Pipeline/Reset All Loaded High Definition Materials Keywords")]
Debug.Log("No errors were detected in the process.");
611
465
}
612
466
}
467
+
468
+
[MenuItem("Edit/Render Pipeline/HD Render Pipeline/Upgrade from Previous Version/Fix Warning 'referenced script in (Game Object 'SceneIDMap') is missing' in loaded scenes")]
0 commit comments