Skip to content

Commit 11a58e5

Browse files
RobJessopEvergreen
authored andcommitted
Documentation/staging
Regular docs sync to main.
1 parent ba840fc commit 11a58e5

File tree

11 files changed

+89
-36
lines changed

11 files changed

+89
-36
lines changed

Packages/com.unity.render-pipelines.high-definition/Documentation~/HDR-Output.md

Lines changed: 42 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -21,89 +21,96 @@ After you enable **Use display in HDR mode**, you must configure [Tonemapping](P
2121

2222
In order to configure these settings effectively, you need to understand how certain values related to tone mapping determine the visual characteristics of your HDR output.
2323

24-
#### Important tone mapping values
24+
### Important tone mapping values
2525

2626
To properly make use of the capabilities of HDR displays, your **Tonemapping** configuration must take into account the capabilities of the target display, specifically these three values (in[ nits](https://en.wikipedia.org/wiki/Candela_per_square_metre)):
2727

28-
- **Minimum supported brightness.**
29-
- **Maximum supported brightness.**
30-
- **Paper White value.** This value represents the brightness of a paper-white surface represented on the display, which determines the display's brightness overall. Low Dynamic Range (LDR) and High Dynamic Range (HDR) content do not appear equally bright on displays with the same Paper White value. This is because displays apply extra processing to low dynamic range content that bumps its brightness levels up. For this reason, it is best practice to implement a calibration menu for your application.
28+
* **Minimum supported brightness.**
29+
* **Maximum supported brightness.**
30+
* **Paper White value.** This value represents the brightness of a paper-white surface represented on the display, which determines the display's brightness overall. Low Dynamic Range (LDR) and High Dynamic Range (HDR) content do not appear equally bright on displays with the same Paper White value. This is because displays apply extra processing to low dynamic range content that bumps its brightness levels up. For this reason, it is best practice to implement a calibration menu for your application.
3131

32-
#### Usable user interfaces depend on accurate Paper White values
32+
### Usable user interfaces depend on accurate Paper White values
3333

3434
[Unlit](Unlit-Shader.html) materials do not respond to lighting changes, so it is standard practice to use an Unlit material for user interfaces. Calculations for Unlit material rendering define brightness with values between 0 and 1 when you are not specifically targeting HDR displays. In this context, a value of 1 corresponds to white, and a value of 0 corresponds to black.
3535

3636
However, in HDR mode, HDRP uses Paper White values to determine the brightness of Unlit materials. This is because HDR values can exceed the 0 to 1 range.
3737

3838
As a result, Paper White values determine the brightness of UI elements in HDR mode, especially white elements, whose brightness matches Paper White values.
3939

40-
## Configure HDR Tone Mapping settings in the Volume component
40+
### Configure HDR Tone Mapping settings in the Volume component
4141

4242
You can select and adjust Tonemapping modes in the [Volume](Volumes.html) component settings. You can also adjust some aspects of your HDR Tonemapping configuration with a script (see [The HDROutputSettings API](#the-hdroutputsettings-api)).
4343

4444
After you enable **Use display in HDR mode**, HDR [Tonemapping](Post-Processing-Tonemapping.html) options become visible in the [Volume](Volume-Components.html) component.
4545

46-
#### Tone mapping modes
46+
## Tone mapping modes
4747

4848
HDRP provides two **Tonemapping** modes: **Neutral** and **ACES**. Each Tonemapping mode has some unique properties.
4949

50-
- **Neutral** mode is especially suitable for situations where you do not want the tone mapper to [ color grade](https://en.wikipedia.org/wiki/Color_grading) your content.
51-
- [**ACES**](https://en.wikipedia.org/wiki/Academy_Color_Encoding_System) mode uses the ACES reference color space for feature films. It produces a cinematic, contrasty result.
50+
* **Neutral** mode is especially suitable for situations where you do not want the tone mapper to [color grade](https://en.wikipedia.org/wiki/Color_grading) your content.
51+
* [**ACES**](https://en.wikipedia.org/wiki/Academy_Color_Encoding_System) mode uses the ACES reference color space for feature films. It produces a cinematic, contrasty result.
5252

53-
##### Neutral
53+
### Neutral
5454

55-
| **Property** | **Description** |
56-
| ------------------------------------ | ------------------------------------------------------------ |
57-
| **Neutral HDR Range Reduction Mode** | The curve that the Player uses for tone mapping. The options are:<br />- **BT2390**: The default. Defined by the [BT.2390](https://www.itu.int/pub/R-REP-BT.2390) broadcasting recommendations.<br />- **Reinhard**: A simple Tone Mapping operator.<br />This option is only available when you enable **[Additional Properties](More-Options.html)**. |
58-
| **Hue Shift Amount** | The value determines the extent to which your content retains its original hue after you apply HDR settings. When this value is 0, the tonemapper attempts to preserve the hue of your content as much as possible by only tonemapping [luminance](Physical-Light-Units.html). |
59-
| **Detect Paper White** | Enable this property if you want HDRP to use the Paper White value that the display communicates to the Unity Engine. In some cases, the value the display communicates may not be accurate. Implement a calibration menu for your application so that users can display your content correctly on displays that communicate inaccurate values. |
60-
| **Paper White** | The Paper White value of the display. If you do not enable **Detect Paper White**, you must specify a value here. |
61-
| **Detect Brightness Limits** | Enable this property if you want HDRP to use the minimum and maximum nit values that the display communicates. In some cases, the value the display communicates may not be accurate. It is best practice to implement a calibration menu for your application to allow for these situations. |
62-
| **Min Nits** | The minimum brightness value of the display. If you do not enable **Detect Brightness Limits**, you must specify a value here and in **Max Nits**. |
63-
| **Max Nits** | The maximum brightness value of the display. If you do not enable **Detect Brightness Limits**, you must specify a value here and in **Min Nits**. |
55+
| Property | Description |
56+
| -------- | ----------- |
57+
| **Neutral HDR Range Reduction Mode** | The curve that the Player uses for tone mapping. The options are:<ul><li>**BT2390**: The default. Defined by the [BT.2390](https://www.itu.int/pub/R-REP-BT.2390) broadcasting recommendations.</li><li>**Reinhard**: A simple Tone Mapping operator.</li></ul>This option is only available when you enable **[Additional Properties](/More-Options.md)**. |
58+
| **Hue Shift Amount** | The value determines the extent to which your content retains its original hue after you apply HDR settings. When this value is 0, the tonemapper attempts to preserve the hue of your content as much as possible by only tonemapping [luminance](/Physical-Light-Units.md). |
59+
| **Detect Paper White** | Enable this property if you want HDRP to use the Paper White value that the display communicates to the Unity Engine. In some cases, the value the display communicates may not be accurate. Implement a calibration menu for your application so that users can display your content correctly on displays that communicate inaccurate values. |
60+
| **Paper White** | The Paper White value of the display. If you do not enable **Detect Paper White**, you must specify a value here. |
61+
| **Detect Brightness Limits** | Enable this property if you want HDRP to use the minimum and maximum nit values that the display communicates. In some cases, the value the display communicates may not be accurate. It is best practice to implement a calibration menu for your application to allow for these situations. |
62+
| **Min Nits** | The minimum brightness value of the display. If you do not enable **Detect Brightness Limits**, you must specify a value here and in **Max Nits**. |
63+
| **Max Nits** | The maximum brightness value of the display. If you do not enable **Detect Brightness Limits**, you must specify a value here and in **Min Nits**. |
6464

65-
##### Misuse of **Hue Shift Amount**
65+
### Misuse of Hue Shift Amount
6666

6767
Creators might author some content with the intention to use **Hue Shift Amount** to produce special effects. In the illustration below, the **Hue Shift Amount** is 0 for image A and 1 for image B. The flames image B appear more intense because of the hue shift effect. It is preferable not to author content in this way, because settings optimized for special effects can have undesirable effects on other content in the Scene.
6868

69-
<img src="Images\HDR-Output-HueShift.png" alt="HDR-Output-HueShift" style="zoom:67%;" />
69+
![Hue Shift Amount Comparison](/Images/HDR-Output-HueShift.png)<br/>*Image A: Output when Hue Shift Amount is 0.*<br/>*Image B: Output when Hue Shift Amount is 1.*
7070

71-
​ A B
72-
73-
##### ACES
71+
### ACES
7472

7573
This mode has fixed presets to target 1000, 2000, and 4000 nit displays. It is best practice to implement a calibration menu for your application to ensure that the user can select the right preset.
7674

77-
| **Property** | **Description** |
78-
| ---------------------- | ------------------------------------------------------------ |
79-
| **ACES Preset** | The tone mapper preset to use. The options are:<br />- ACES 1000 Nits: The default. This curve targets 1000 nits displays<br />- ACES 2000 Nits: Curve that targets 2000 nits displays<br />- ACES 4000 Nits: Curve that targets 4000 nits displays |
80-
| **Detect Paper White** | Enable this property if you want HDRP to use the Paper White value that the display communicates. In some cases, the value the display communicates may not be accurate. It is best practice to implement a calibration menu for your application to allow for these situations. |
81-
| **Paper White** | The Paper White value of the display. If you do not enable **Detect Paper White**, you must specify a value here. |
82-
83-
75+
| Property | Description |
76+
| -------- | ----------- |
77+
| **ACES Preset** | The tone mapper preset to use. The options are:<ul><li>**ACES 1000 Nits**: The default. This curve targets 1000 nits displays.</li><li>**ACES 2000 Nits**: Curve that targets 2000 nits displays.</li><li>**ACES 4000 Nits**: Curve that targets 4000 nits displays.</li></ul> |
78+
| **Detect Paper White** | Enable this property if you want HDRP to use the Paper White value that the display communicates to the Unity Engine. In some cases, the value the display communicates may not be accurate. Implement a calibration menu for your application so that users can display your content correctly on displays that communicate inaccurate values. |
79+
| **Paper White** | The Paper White value of the display. If you do not enable **Detect Paper White**, you must specify a value here. |
8480

8581
### The HDROutputSettings API
8682

87-
The[ HDROutputSettings](https://docs.unity3d.com/ScriptReference/HDROutputSettings.html) API makes it possible to enable and disable HDR mode, as well as query certain values (such as Paper White).
83+
The [HDROutputSettings](https://docs.unity3d.com/ScriptReference/HDROutputSettings.html) API makes it possible to enable and disable HDR mode, as well as query certain values (such as Paper White).
8884

8985
## HDR Debug Views
9086

9187
HDRP offers three debug views for HDR rendering. To access them, navigate to **Window > Analysis > Render Pipeline Debugger > Lighting > HDR**.
9288

93-
#### Gamut View
89+
### Gamut View
9490

9591
![HDR-Output-GamutView](Images/HDR-Output-GamutView.png)
9692

9793
The triangles in this debug view indicate which parts of three specific color gamuts this scene covers. The small triangle displays the [Rec709](https://en.wikipedia.org/wiki/Rec._709) gamut values, the medium triangle displays the [P3-D65](https://en.wikipedia.org/wiki/DCI-P3) gamut values, and the large triangle displays the [Rec2020](https://en.wikipedia.org/wiki/Rec._2020) gamut values. This enables you to check color plot changes while color grading. It can also help you ensure that you benefit from the wider color gamut available in HDR.
9894

99-
#### Gamut Clip
95+
### Gamut Clip
10096

10197
![HDR-Output-GamutClip](Images/HDR-Output-GamutClip.png)
10298

10399
This debug view indicates the relationship between scene values and specific color gamuts. Areas of the screen with values within the Rec709 gamut are green, areas outside of the Rec709 gamut but inside the P3-D65 gamut are blue, and areas outside of both are red.
104100

105-
#### Values exceeding Paper White
101+
### Values exceeding Paper White
106102

107103
![HDR-Output-OverPaperWhite](Images/HDR-Output-OverPaperWhite.png)
108104

109105
This debug view uses a color coded gradient to indicate parts of the Scene that exceed the Paper White value. The gradient ranges from yellow to red. Yellow corresponds to **Paper White** +1, and red corresponds to **Max Nits**.
106+
107+
## Platform Compatibility
108+
109+
HDRP only supports HDR Output on the following platforms:
110+
111+
* Windows with DirectX 11, DirectX 12 or Vulkan
112+
* HDRP Supported Devices that use Metal
113+
* Consoles
114+
* XR devices with HDR support
115+
116+
> **Note**: DirectX 11 only supports HDR Output in the Player, it does not support HDR Output in the Editor.

Packages/com.unity.render-pipelines.high-definition/Documentation~/TableOfContents.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@
181181
* [Streaming](probevolumes-streaming.md)
182182
* [Probe Volume settings and properties](probevolumes-settings.md)
183183
* [Light Anchor](light-anchor.md)
184+
* [View and control a light from its perspective](lights-placement-tool.md)
184185
* [Environment Lighting](Environment-Lighting.md)
185186
* [Clouds in HDRP](clouds-in-hdrp.md)
186187
* [Atmospheric Scattering](Atmospheric-Scattering.md)
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# View and control a light from its perspective
2+
3+
The High Definition Render Pipeline (HDRP) includes the light placement tool which you can use to view a scene from a light source’s perspective. You can use this tool to move and modify any type of light source.
4+
5+
This tool does not affect any cameras in your scene. The scene view camera returns to its original position when you disable the light placement tool.
6+
7+
![](Images/light-placement-tool.jpg)
8+
9+
## Use the light placement tool
10+
11+
To use the light placement tool:
12+
1. Select a light GameObject in the inspector window.
13+
2. In the scene view toolbar, select the light placement tool icon. ![](Images/light-placement-tool-icon.png). The scene view camera automatically changes position to look through the selected light.
14+
4. Use the camera controls (pan, orbit, zoom) to adjust the light’s position.
15+
5. Use the light’s gizmos to adjust its properties.
16+
17+
To exit the light placement tool use one of the following methods:
18+
* Press "**Escape**".
19+
* Select the light placement tool icon.
20+
* Select another GameObject.
21+
22+
The scene view camera automatically returns to its previous position.

Packages/com.unity.render-pipelines.universal/Documentation~/TableOfContents.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
* [Lighting](lighting.md)
5050
* [Light component reference](light-component.md)
5151
* [Lighting Mode](urp-lighting-mode.md)
52+
* [View and control a light from its perspective](lights-placement-tool.md)
5253
* [The Universal Additional Light Data component](universal-additional-light-data.md)
5354
* [Shadows in the Universal Render Pipeline](Shadows-in-URP.md)
5455
* [Reflection probes](lighting/reflection-probes.md)
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# View and manipulate lights from their perspective
2+
3+
The Universal Render Pipeline (URP) includes the light placement tool which you can use to view a scene from a light source’s perspective. You can use this tool to move and modify any type of light source.
4+
5+
This tool does not affect any cameras in your scene. The scene view camera returns to its original position when you disable the light placement tool.
6+
7+
![](Images/light-placement-tool/light-placement-tool.jpg)
8+
9+
## Use the light placement tool
10+
11+
To use the light placement tool :
12+
1. Select a light GameObject in the inspector window.
13+
2. In the scene view toolbar, select the light placement tool icon. ![](Images/light-placement-tool/light-placement-tool-icon.png). The scene view camera automatically changes position to look through the selected light.
14+
4. Use the camera controls (pan, orbit, zoom) to adjust the light’s position.
15+
5. Use the light’s gizmos to adjust its properties.
16+
17+
To exit the light placement tool use one of the following methods:
18+
* Press "**Escape**".
19+
* Select the light placement tool icon.
20+
* Select another GameObject.
21+
22+
The scene view camera automatically returns to its previous position.

Packages/com.unity.render-pipelines.universal/Documentation~/post-processing/hdr-output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ URP provides two **Tonemapping** modes: **Neutral** and **ACES**. Each Tonemappi
6262

6363
| Property | Description |
6464
| -------- | ----------- |
65-
| **Neutral HDR Range Reduction Mode** | The curve that the Player uses for tone mapping. The options are:<ul><li>BT2390: The default. Defined by the [BT.2390](https://www.itu.int/pub/R-REP-BT.2390) broadcasting recommendations.</li><li>Reinhard: A simple Tone Mapping operator.</li></ul>This option is only available when you enable **Show Additional Properties**. |
65+
| **Neutral HDR Range Reduction Mode** | The curve that the Player uses for tone mapping. The options are:<ul><li>**BT2390**: The default. Defined by the [BT.2390](https://www.itu.int/pub/R-REP-BT.2390) broadcasting recommendations.</li><li>**Reinhard**: A simple Tone Mapping operator.</li></ul>This option is only available when you enable **Show Additional Properties**. |
6666
| **Hue Shift Amount** | The value determines the extent to which your content retains its original hue after you apply HDR settings. When this value is 0, the tonemapper attempts to preserve the hue of your content as much as possible by only tonemapping luminance. |
6767
| **Detect Paper White** | Enable this property if you want URP to use the Paper White value that the display communicates to the Unity Engine. In some cases, the value the display communicates may not be accurate. Implement a calibration menu for your application so that users can display your content correctly on displays that communicate inaccurate values. |
6868
| **Paper White** | The Paper White value of the display. If you do not enable **Detect Paper White**, you must specify a value here. |

0 commit comments

Comments
 (0)