Skip to content

Commit caee537

Browse files
kechopmavridisFrancescoC-unitysebastienlagarde
authored
[Fogbugz 1335732] Documentation and defaults for DLSS (#4694)
* [HDRP] Fix AxF debug output in certain configurations (#4641) * Fix AxF debug output in certain configurations. * Update comment * Fix SSR accumulation white flash (#4648) * Fix white flash * changelog Co-authored-by: sebastienlagarde <sebastien@unity3d.com> * Display Info Box when MSAA + ray tracing is onr (#4627) * Show info box when ray tracing is enabled. * Changelog * Move below MSAA Co-authored-by: sebastienlagarde <sebastien@unity3d.com> * Documentation and defaults for DLSS * Feedback from Vic * Update CHANGELOG.md Co-authored-by: Pavlos Mavridis <pavlos.mavridis@unity3d.com> Co-authored-by: FrancescoC-unity <43168857+FrancescoC-unity@users.noreply.github.com> Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
1 parent 608fe23 commit caee537

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

com.unity.render-pipelines.core/Runtime/Common/GlobalDynamicResolutionSettings.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,13 @@ public struct GlobalDynamicResolutionSettings
5959
// It fall-backs to software when not supported, so it makes sense to have it on by default.
6060
dynResType = DynamicResolutionType.Hardware,
6161
upsampleFilter = DynamicResUpscaleFilter.CatmullRom,
62-
forcedPercentage = 100.0f
62+
forcedPercentage = 100.0f,
63+
64+
//Defaults for dlss
65+
enableDLSS = false,
66+
DLSSUseOptimalSettings = true,
67+
DLSSPerfQualitySetting = 0,
68+
DLSSSharpness = 0.5f
6369
};
6470

6571
/// <summary>Select whether the dynamic resolution is enabled or not.</summary>

com.unity.render-pipelines.high-definition/Documentation~/deep-learning-super-sampling-in-hdrp.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,14 @@ After you install the NVIDIA package, more properties appear in [HDRP Assets](HD
4444
Your Unity project now supports DLSS and you can now enable DLSS for Cameras in your scene. Enabling DLSS in the HDRP Asset exposes other properties that you can use to customize DLSS. For information about these properties, see the [HDRP Asset](HDRP-Asset.md) documentation.
4545

4646
1. In the Hierarchy or Scene view, select a Camera and view it in the Inspector.
47-
2. Select **Allow DLSS**.
48-
3. Enabling **Allow DLSS** exposes other properties that you can use to customize DLSS for the Camera. For information about these properties, see the [Camera](HDRP-Camera.md) documentation.
47+
2. Select **Allow Dynamic Resolution** to expose the DLSS settings. For more information see the [Dynamic Resolution](Dynamic-Resolution.md) guide.
48+
3. Select **Allow DLSS**.
49+
4. Enable **Allow DLSS** to expose other properties that you can use to customize DLSS for the Camera. For information about these properties, see the [Camera](HDRP-Camera.md) documentation.
50+
51+
### DLSS and Dynamic Resolution
52+
53+
The **Use Optimal Settings** checkbox in the [HDRP Assets](HDRP-Asset.md) is enabled by default. This means that DLSS sets the dynamic resolution scale automatically.
54+
If you disable this checkbox DLSS uses the same dynamic resolution scale set by the project. For more information see the [Dynamic Resolution](Dynamic-Resolution.md) guide.
4955

5056
### Setting the DLSS quality mode
5157

0 commit comments

Comments
 (0)