Search Issue Tracker
By Design
Votes
12
Found in [Package]
12.0.0
Issue ID
1364920
Regression
No
[DLSS][XR][HDRP] DLSS creates anti-aliasing artifacts with Single Pass and Multi Pass Instancing
Reproduction steps:
1. Open the user's attached project "SinglePassDLSS.zip"
2. Connect Oculus 1/2
3. Enter Play Mode
4. Observe the jagged edges of the Sphere
Expected result: Enabling DLSS does not create anti-aliasing artifacts and the edges are smooth
Actual result: Enabling DLSS creates anti-aliasing artifacts and the edges are jagged (see attached Results.png)
Reproduces on: HDRP 12.0.0 (2021.2.0b12, 2022.1.0a9)
Could not test 2019.4.30f1, 2020.3.22f1, 2021.1.18f1 due to errors when downgrading the project
Notes:
-Disabling DLSS and also disabling AA will show fewer jagged edges. Enabling FXAA and disabling DLSS will also show fewer artifacts
-User mentioned that the issue reproduces also with Mock HMD
-DLSS is enabled in "Assets/HDRPDefaultResources/DefaultHDRPAsset.asset" at Maximum Quality
Comments (1)
-
jeanpaul84
Oct 08, 2021 02:02
This issue is caused by "Camera Jitter" in XR HDRP settings being off. When off, the jitterx/y that is sent to DLSS is zeroed out causing jagged edges in the output.
There should be a warning to warn the user that DLSS won't work correctly if this setting is disabled.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URPPreprocessBuild.OnPostProcessBuild is never executed when building the Player
- [Linux] Using CTRL+Shift+A shortcut for Add Component throws GUI Rendering Errors
- Crash on MonoBehaviour::Transfer<YAMLRead> when upgrading the Magic Leap XR Plugin
- Image is distorted when VisualElement is scaled and Scale Mode set to scale-and-crop
- Euler angles return different values during Animation Event when using Playables API and the time is 0
Resolution Note:
The Camera Jitter setting was set to false in the HDRP asset under XR. Enabling this option fixes the anti-aliasing.