forked from BilalY/Rasagar
62 lines
7.3 KiB
Markdown
62 lines
7.3 KiB
Markdown
|
# HDRP graphics settings window reference
|
|||
|
|
|||
|
If a project has the High Definition Render Pipeline (HDRP) package installed, Unity shows HDRP-specific graphics settings in **Project Settings** > **Graphics** > **Pipeline Specific Settings** > **HDRP**.
|
|||
|
|
|||
|
The section contains the following settings that let you define project-wide settings for HDRP.
|
|||
|
|
|||
|
You can also add your own settings. Refer to [Add custom settings](https://docs.unity3d.com/Packages/com.unity.render-pipelines.core@17.0/manual/add-custom-graphics-settings.html) in the Scriptable Render Pipeline (SRP) Core manual for more information.
|
|||
|
|
|||
|
## Additional Shader Stripping Settings
|
|||
|
|
|||
|
| **Property** | **Description** |
|
|||
|
| --------------------------| ------------------------------------------------------------ |
|
|||
|
| Shader Variant Log Level | Use the drop-down to select what information HDRP logs about Shader variants when you build your Unity Project. • Disabled: HDRP doesn’t log any Shader variant information.• Only SRP Shaders: Only log Shader variant information for HDRP Shaders.• All Shaders: Log Shader variant information for every Shader type. |
|
|||
|
| Export Shader Variants | Controls whether to output shader variant information to a file. |
|
|||
|
|
|||
|
|
|||
|
## Custom Post Process Orders
|
|||
|
|
|||
|
Use this section to select which custom post processing effect HDRP uses in the project and at which stage in the render pipeline it executes them.
|
|||
|
|
|||
|
HDRP provides one list for each post processing injection point. See the [Custom Post Process](Custom-Post-Process.md) documentation for more details.
|
|||
|
|
|||
|
![](Images/HDRPgs_Custom_PP.png)
|
|||
|
|
|||
|
|
|||
|
## Frame Settings (Default Values)
|
|||
|
|
|||
|
The [Frame Settings](Frame-Settings.md) control the rendering passes that Cameras perform at runtime.
|
|||
|
|
|||
|
Use this section to set default values for the Frame Settings that all Cameras use if you don't enable their Custom Frame Settings checkbox. For information about what each property does, see [Frame Settings](Frame-Settings.md).
|
|||
|
|
|||
|
## Miscellaneous
|
|||
|
|
|||
|
| **Property** | **Description** |
|
|||
|
| -------------------------------- | ------------------------------------------------------------ |
|
|||
|
| Lens Attenuation Mode | Set the attenuation mode of the lens that HDRP uses to compute exposure. <br/> •**Imperfect lens**: This mode loses some energy when HDRP converts from EV100 to the exposure multiplier.<br/> •**Perfect lens**: This mode has no attenuation and doesn't lose any energy. |
|
|||
|
| Dynamic Render Pass Culling | When you enable this option, HDRP uses the RendererList API to skip drawing passes based on the type of GameObjects visible in the current frame objects. For example, if HDRP doesn't draw an object with distortion, it skips the Render Graph passes that draw the distortion effect and their dependencies, like the color pyramid generation. |
|
|||
|
| Specular Fade | Reduce the effect of specular highlights on Lit or StackLit materials that receive specular light. This effect is not physically correct. |
|
|||
|
| Use DLSS Custom Project ID | Controls whether to use a custom project ID for the NVIDIA Deep Learning Super Sampling module. If you enable this property, you can use **DLSS Custom Project ID** to specify a custom project ID.<br/>This property only appears if you enable the NVIDIA package (com.unity.modules.nvidia) in your Unity project. |
|
|||
|
| DLSS Custom Project ID | Controls whether to use a custom project ID for the NVIDIA Deep Learning Super Sampling (DLSS) module. If you enable this property, you can use **DLSS Custom Project ID** to specify a custom project ID. If you disable this property, Unity generates a unique project ID. <br/>This property only appears if you enable the NVIDIA package (com.unity.modules.nvidia) in your Unity project. |
|
|||
|
| Runtime Debug Shaders | When enabled, Unity includes shader variants that let you use the Rendering Debugger window to debug your build. When disabled, Unity excludes (strips) these variants. Enable this when you want to debug your shaders in the Rendering Debugger window, and disable it otherwise. |
|
|||
|
| Auto Register Diffusion Profiles | When enabled, diffusion profiles referenced by an imported material will be automatically added to the diffusion profile list in the [HDRP Graphics settings window](Default-Settings-Window.md) |
|
|||
|
|
|||
|
|
|||
|
## <a name="volume-profiles"></a> Volume Profiles
|
|||
|
|
|||
|
You can use the **Volume Profiles** section to assign and edit a [Volume Profile](create-a-volume-profile.md) that [Volumes](understand-volumes.md) use by default in your Scenes. You do not need to create a Volume for this specific Volume Profile to be active, because HDRP always processes it as if it's assigned to a global Volume in the Scene, but with the lowest priority. This means that any Volume that you add to a Scene takes priority.
|
|||
|
|
|||
|
The **Default Volume Profile Asset** (A) references a Volume Profile in the HDRP package folder called `DefaultSettingsVolumeProfile` by default. Below it, you can add [Volume overrides](volume-component.md), and edit their properties. You can assign your own Volume Profile to this property field. Be aware that this property must always reference a Volume Profile. If you assign your own Volume Profile and then delete it, HDRP automatically re-assigns the `DefaultSettingsVolumeProfile` from the HDRP package folder.
|
|||
|
|
|||
|
The **LookDev Volume Profile Asset** (B) references the Volume Profile HDRP uses in the [LookDev window](test-and-debug-materials-in-different-lighting-conditions-look-dev.md). This Asset works in almost the same way as the Default Volume Profile Asset, except that it overrides [Visual Environment Components](visual-environment-volume-override-reference.md) and sky components.![](Images/HDRPgs_Volume_Profiles.png)
|
|||
|
|
|||
|
## Resources
|
|||
|
|
|||
|
The Resources list includes the Shaders, Materials, Textures, and other Assets that HDRP uses.
|
|||
|
|
|||
|
| **Property** | **Description** |
|
|||
|
| ------------------------- | ------------------------------------------------------------ |
|
|||
|
| **Player Resources** | Stores references to Shaders and Materials that HDRP uses. When you build your Unity Project, HDRP embeds all the resources that this Asset references.<br/><br/>Use this property to set up multiple render pipelines in a Unity Project. When you build the Project Unity only embeds Shaders and Materials relevant for that pipeline. This is the Scriptable Render Pipeline equivalent of Unity’s Resources folder mechanism.<br/>When you create a new HDRP Global Settings Asset, the `HDRenderPipelineRuntimeResources` from HDRP package is automatically referenced in it. |
|
|||
|
| **Ray Tracing Resources** | Stores references to Shaders and Materials that HDRP uses for ray tracing.<br/>HDRP stores these resources in a separate Asset file from the main pipeline resources so that it can use less memory for applications that don't support ray tracing. When you create a new HDRP Global Settings Asset, the `HDRenderPipelineRayTracingResources` from HDRP package is automatically referenced in it if your project use ray tracing. |
|
|||
|
| **Editor Resources** | Stores reference resources for the Editor only.<br/>Unity doesn't include these when you build your Unity Project. When you create a new HDRP Global Settings Asset, the `HDRenderPipelineEditorResources` from HDRP package is automatically referenced in it. |
|