Skip to content

Releases: NVIDIA-RTX/NRD

v4.0.0

20 Dec 10:46
Compare
Choose a tag to compare

v4.0.0:

HIGHLIGHTS:

  • NRD: can now optionally patch IN_MV to respect specular motion (needed for TAA, DLSS or any other temporal upscaling tech)
  • NRD: more clear resource binding model with optional "register space" support
  • REBLUR/RELAX: significant improvements in specular motion tracking

DETAILS:

  • NRD: exposed optional IN_BASECOLOR_METALNESS input
  • NRD: GetScreenUv should not be used with "killBackprojection = true"
  • NRD: "isHistoryConfidenceInputsAvailable" => "isHistoryConfidenceAvailable"
  • NRD: "frustumHeight" replaced with "frustumSize", which represents the shortest side (added misc function to Common)
  • API: more clear resource binding model
  • API: added optional "register space" support (controlled in "NRD.hlsli")
  • API: fixed variable names "treeNum" => "treesNum"
  • REBLUR: better disocclusions for 0 roughness
  • REBLUR: added ability to replace surface IN_MV with specular MV if specularity is high
  • REBLUR: color clamping moved after history reconstruction
  • REBLUR: added fast history to occlusion shaders
  • REBLUR: tweaked encoding-aware weights to be less error prone
  • REBLUR: disabled "on the fly" blur radius adjustment
  • REBLUR: "minHitDist" changed to be just "min" without using intensity depend logic
  • REBLUR: footprint quality affects less virtual history amount
  • REBLUR: fixed "smb" motion bleeding in "vmb" motion for 0-roughness on flat surfaces
  • REBLUR: fixed usage of IN_DISOCCLUSION_THRESHOLD_MIX (was computed properly and not used)
  • REBLUR: added "back-facing" test for virtual motion
  • REBLUR: improved parallax based confidence for specular "vmb" motion
  • REBLUR: simplified "GetTemporalAccumulationParams"
  • REBLUR: fraction from settings is used for roughness weight in HistoryFix pass and TA (fixed blurriness)
  • REBLUR: optimizations
  • RELAX: improved specular disocclusion test
  • RELAX: fixed ortho
  • RELAX: improved prev-prev test
  • RELAX: added backface test for virtual motion based specular
  • RELAX: removed some "magic numbers"
  • RELAX: removed parallax math as much as possible
  • RELAX: removed virtual history clamping
  • RELAX: improved roughness tracking for "vmb" history (jitter friendly, tuned weights)
  • RELAX: improved normal tracking for "vmb" history (jitter friendly, tuned weights)
  • RELAX: improved hitT test for "vmb" history
  • RELAX: improved hitT accumulation
  • RELAX: improved curvature handling for normal and prev-prev normal testing
  • RELAX: default specularLobeAngleFraction set to 0.5 (was 0.33)
  • RELAX: improved specular "smb" reprojection
  • RELAX: improved roughness handling in reprojection
  • RELAX: made Prepass respect diffuse/specular lobe angle fraction
  • RELAX: changed default value of "depthThreshold" for spatial passes
  • RELAX: better naming, code refactoring
  • RELAX: optimizations
  • VALIDATION: added "history length" visualization for RELAX
  • VALIDATION: matched "accum frames" visualization logic between REBLUR and RELAX
  • VALIDATION: visualization improvements
  • NRD INTEGRATION: updated to reflect NRI and NRD changes
  • updated MathLib
  • updated README and UPDATE
  • rewritten CMake
  • improved and simplified scripts

v3.9.2

05 Dec 09:11
Compare
Choose a tag to compare

v3.9.2:

HIGHLIGHTS:

  • REBLUR: fixed potential "smb" motion bleeding in "vmb" motion for 0-roughness (led to laggy specular reprojection)

v3.9.1

17 Nov 14:53
Compare
Choose a tag to compare

v3.9.1:

HIGHLIGHTS:

  • REBLUR: less history rejections and ghosting in certain cases
  • README: various improvements

DETAILS:

  • REBLUR: specular tracking improvements
  • REBLUR: fix to skip HistoryFix if "history fix frame num" = 0
  • REBLUR: fixed regression in resolution scale support
  • SPECULAR_REFLECTION_MV: fixed regression in resolution scale support
  • VALIDATION: fixed negative viewZ visualization
  • README: added title image
  • README: added validation layer image
  • README: added "status badge"
  • README: polishing

v3.9.0

11 Nov 14:27
Compare
Choose a tag to compare

v3.9.0:

HIGHLIGHTS:

  • NRD: added debug visualization (validation) layer
  • NRD: added 2.5D MV support (2D screen space motion + delta viewZ)
  • NRD: minor fixes
  • REBLUR: improved specular tracking

DETAILS:

  • NRD: fixed double clears if several denoisers are grouped into a single NRD instance
  • NRD: reduced code entropy in denoisers using "history reset"
  • NRD: removed unnecessary "nrd::" from C++ code
  • REBLUR: fixed regression leading to using "smb" motion in cases where "vmb" motion is fully discarded, but "smb" motion is barely usable
  • REBLUR: fixed regression due to migration to new "smb" accumulation speed calculation a few releases ago
  • REBLUR: fixed bad interaction of anti-lag and partial split-screen mode
  • REBLUR: fixed inconsistent pixel stride progression in HistoryFix pass
  • REBLUR: improved specular reconstruction in HistoryFix pass
  • REBLUR: "vmb" normal confidence made jitter friendly
  • REBLUR: "prev-prev" test made jitter friendly
  • updated README and UPDATE
  • updated MathLib

v3.8.0

28 Oct 10:36
Compare
Choose a tag to compare

v3.8.0:

HIGHLIGHTS:

  • NRD: introduced optional "NRDEncoding.hlsli"
  • NRD: introduced optional per per-pixel disocclusion threshold
  • NRD: increased default disocclusion threshold
  • NRD: fixed bug leading to rounding materialID 2 to 3
  • RELAX / REBLUR: various improvements
  • REBLUR: removed settings "minConvergedStateBaseRadiusScale" and "maxAdaptiveRadiusScale"
  • REBLUR: specular tracking improvements

DETAILS:

  • NRD: introduced optional "NRDEncoding.hlsli"
  • NRD: introduced optional per per-pixel disocclusion threshold
  • NRD: increased default disocclusion threshold
  • NRD: fixed bug leading to rounding materialID 2 to 3
  • RELAX / REBLUR: fixed potential SMEM out of bounds access
  • RELAX / REBLUR: added support for IN_DISOCCLUSION_THRESHOLD_MIX
  • RELAX / REBLUR: improved disocclusion check
  • RELAX / REBLUR: improved "back faced" history rejection
  • RELAX / REBLUR: fixed previous normal fetching math for footprints touching "background" pixels
  • RELAX / REBLUR: refactoring
  • RELAX: improved math handling jitter
  • RELAX: added view vector- and roughness- based stoppers to A-trous
  • RELAX: removed ortho related hack from TA pass
  • RELAX: added materialID support to anti-firefly filter
  • REBLUR: improved SMB (surface motion based) accumulation speed estimation
  • REBLUR: tweaked anti-firefly suppressor settings
  • REBLUR: tweaked roughness weight for specular VMB (virtual motion based) tracking
  • REBLUR: fixed parallax-based specular confidence for VMB (was too aggressive at high FPS)
  • REBLUR: removed settings "minConvergedStateBaseRadiusScale" and "maxAdaptiveRadiusScale"
  • REBLUR: improved checkerboard resolve if amount of SMB is high
  • REBLUR: fixed potential over-sharpening in disoccluded regions (ancient regression)
  • REBLUR: increased aggressiveness of curvature correction
  • REBLUR: improved hitT for tracking in TS pass
  • REBLUR: fixed potential out of screen roughness check in TA pass
  • REBLUR: resolved TODOs
  • REBLUR: improved curvature estimation if parallax is high
  • REBLUR: tuned settings of virtual parallax difference based confidence to minimize potential ghosting
  • REBLUR: fixed SMB data influence on VMB in TS pass
  • REBLUR: fixed bug not allowing a lower value to be clamped to a bigger value from fast history
  • SPECULAR_REFLECTION_MV: updated curvature calculation math
  • improved docs

v3.7.0

21 Sep 13:07
Compare
Choose a tag to compare

NRD v3.7.0:

HIGHLIGHTS:

  • NRD: introduced NRD_NORMAL_ENCODING and NRD_ROUGHNESS_ENCODING parameters (controlled via CMake) to cover more encoding variants out of the box
  • NRD: introduced read-only "normalEncoding" and "roughnessEncoding" in "LibraryDesc" describing which encoding NRD has been compiled with
  • NRD: improved curvature estimation and usage for any type of supported normal encoding
  • NRD: fixed wrong curvature direction (was Y-flipped)
  • NRD: CLEAR_AND_RESTART now clears only "history" resources, including user-provided outputs
  • RELAX: fixed dynamic resolution scale related issue for specular (regression)
  • REBLUR: improved specular tracking
  • REBLUR: removed "enableAdvancedPrepass"
  • REBLUR: reduced potential chroma shifts
  • REBLUR_SH: fixed bias (increased lightness)
  • REBLUR_DIFFUSE_SPECULAR_SH: fixed wrong resource bindings if pre-pass is off
  • NRD INTEGRATION: descriptor caching is now based on native resource pointers instead of NRI pointers

DETAILS:

  • NRD: introduced NRD_NORMAL_ENCODING and NRD_ROUGHNESS_ENCODING
  • NRD: improved clears on CLEAR_AND_RESTART
  • NRD: removed shared NRD_NORMAL_ENCODING_ERROR
  • NRD: curvature error compensation made normal encoding dependent
  • NRD: fixed numerical instabilities in curvature estimation
  • NRD: fixed how thin lens equation interacts with concave surfaces
  • NRD: fixed wrong calculation of curvature direction
  • RELAX: NRD_NORMAL_ENCODING_ERROR => RELAX_NORMAL_ENCODING_ERROR (no functional changes)
  • RELAX: fixed resolution scale regression in virtual motion based reprojection for specular
  • RELAX: moving to using "ApplyThinLensEquation"
  • REBLUR: NORMAL_ULP increased from 0.0009 to 0.004 (1/255)
  • REBLUR: consistent REBLUR_NORMAL_ULP usage
  • REBLUR: removed / resolved some TODOs
  • REBLUR: prev-prev test improvements
  • REBLUR: changing luma doesn't allow energy boost
  • REBLUR: removed "enableAdvancedPrepass" (low IQ gains, adds bias in SH mode)
  • REBLUR_DIFFUSE_SPECULAR_SH: fixed wrong resource bindings if pre-pass is off
  • NRD INTEGRATION: descriptor caching is now based on native resource pointers instead of NRI pointers
  • NRD INTEGRATION: improved debug output
  • NRD INTEGRATION: NRI updated to v1.86
  • updated MathLib

v3.6.0

05 Sep 16:11
Compare
Choose a tag to compare

NRD v3.6.0:

HIGHLIGHTS:

  • NRD: removed "SpecularLobeTrimmingParameters"
  • NRD: improved NRD SDK generation script
  • REBLUR: regression and bug fixes (sorry, it's an expected side effect of doing steps forward)
  • REBLUR: improved IQ and performance

DETAILS:

  • NRD: removed "SpecularLobeTrimmingParameters"
  • NRD: improved NRD SDK generation script
  • NRD: Fooplot graphs replaced with Desmos graphs
  • NRD: improved compatibility with HLSL 2021 (WIP)
  • NRD: clarified in comments where NRD_USE_OCT_NORMAL_ENCODING and NRD_USE_MATERIAL_ID come from
  • NRD: getting rid of point-mirror samplers in the shader code
  • REBLUR: changed estimation of optimal hitT for tracking
  • REBLUR: added random rotation to HistoryFix pass
  • REBLUR: hitT for very low roughness is not modified by HistoryFix pass (already clean)
  • REBLUR: made another attempt to properly tune virtual parallax based history rejection
  • REBLUR: fixed SH related bug in pre-pass (regression)
  • REBLUR: improved SH denoising (pre-pass now behaves as "advanced" since direction and PDF are available)
  • REBLUR: unified hitT weight between radiance and hitT
  • REBLUR: unified hit distance factor
  • REBLUR: improved performance
  • REBLUR: fixed a rare case of out-of-bounds access, when unused half of a resource is filled with NaNs
  • REBLUR: improved calculation of virtual motion based accumulation speed for specular
  • REBLUR: blur radius refactoring (all relevant code gathered in one place for clarity)
  • REBLUR: fixed a minor issue in debug visualization
  • REBLUR: tuned blur radius "addon"
  • REBLUR: code refactoring and simplification
  • SIGMA: changed shader names to match overall REBLUR style (no functional changes)
  • updated README & UPDATE

v3.5.0

30 Aug 09:41
Compare
Choose a tag to compare

NRD v3.5.0:

HIGHLIGHTS:

  • REBLUR: important follow up bug & regression fixes
  • REBLUR: fixed broken DIRECTIONAL_OCCLUSION denoiser
  • REBLUR: significantly reduced memory usage of OCCLUSION & DIRECTIONAL_OCCLUSION denoisers
  • REBLUR: improved internal anti-firefly suppressor
  • REBLUR: more stable specular tracking
  • REBLUR: improved IQ
  • REBLUR: temporal stabilization is now less important for IQ (but still needed for antilag)

DETAILS:

  • NRD: SH simplifications
  • NRD: prepass rotator now scales blur radius by +/- 25%
  • NRD: added cutoffs for non-exponential weights to minimize FP precision drifting
  • NRD: added optional "NONE" mode for kernel rotation
  • NRD: fixed strangely-looking code for texture clearing
  • NRD: tweaked hit distance weight to be not stricter than 3%
  • NRD: introduced NRD_EPS
  • NRD: reduced code entropy
  • REBLUR OCCLUSION and DIRECTIONAL_OCCLUSION: switched internal processing to 16-bit UNORM/SNORM instead of 16-bit FLOAT to fix darkening effects when history length is very long
  • REBLUR OCCLUSION: significantly reduced memory usage
  • REBLUR OCCLUSION: simplified code to be closer to non-occlusion mode
  • REBLUR DIRECTIONAL_OCCLUSION: fixed! (was broken after recent changes)
  • REBLUR DIRECTIONAL OCCLUSION & SH: fixed internal anti-firefly suppressor
  • REBLUR SH: advanced prepass made always on since direction and PDF is available
  • REBLUR: rotators now scale blur radius by +/- 25%
  • REBLUR: exposed "historyFixFrameNum" and "historyFixStrideBetweenSamples" instead of "historyFixStrength"
  • REBLUR: min PDF check moved to encoding phase
  • REBLUR: tuned fractions
  • REBLUR: fixed "darkening" bias (old regression)
  • REBLUR: massaged blur radius calculation
  • REBLUR: blur radius boost adjusted by roughness (regression)
  • REBLUR: tuned blur radius in spatial passes if number of accumulated frames is low
  • REBLUR: massaged curvature angle
  • REBLUR: switched to symmetrical kernel
  • REBLUR: improved virtual parallax based confidence calculation (less history drops for glossy specular)
  • REBLUR: simplified checkerboard resolve & accum speeds interpolation
  • REBLUR: relaxed parallax check if history length is short
  • REBLUR: fixed potentially numerically unstable direction normalization (regression)
  • REBLUR: fixed virtual motion based history accumulation acceleration (regression)
  • REBLUR: tweaked plane distance sensitivity after history reset
  • REBLUR: switched anti-firefly to 3x3 instead of 5x5
  • REBLUR: anti-firefly and fast history clamping improvements
  • REBLUR: fixed lost after refactoring scale in "GetSensitivityToDarkness" (regression)
  • REBLUR: returned not affecting main history anti-firefly for hitT in temporal stabilization pass (regression)
  • REBLUR: fixed ancient code preventing anti-lag from resetting history to 0 (was only 1 frame)
  • REBLUR: improved checkerboard resolve for fast history
  • REBLUR: matched surface- and virtual- based motion footprint quality calculations
  • REBLUR: spatial filtering now follows specular lobe better
  • REBLUR: improved behavior in disocclusions
  • REBLUR: improved anti-firefly suppressor
  • REBLUR: disocclusion check simplification
  • REBLUR: used averaged instead of normalized previous normal for backfacing check
  • REBLUR: resolved some TODOs
  • REBLUR: improved code reuse
  • REBLUR: refactoring
  • RELAX: unification related renamings
  • updated README & UPDATE
  • updated MathLib

v3.4.3

19 Aug 10:45
Compare
Choose a tag to compare

NRD v3.4.3:

HIGHLIGHTS:

  • bug fixes & improvements

DETAILS:

  • fixed lost after refactoring scale in "GetSensitivityToDarkness" (regression)
  • returned not affecting main history anti-firefly for hitT in temporal stabilization pass (regression)
  • fixed ancient code preventing antilag from resetting history to 0 (was only 1 frame)
  • fixed potential black outlines introduced by temporal stabilization pass
  • improved checkerboard resolve for fast history

v3.4.2

18 Aug 12:50
Compare
Choose a tag to compare

NRD v3.4.2:

HIGHLIGHTS:

  • bug fixes & improvements

DETAILS:

  • REBLUR: fixed broken resource bindings in REBLUR_DIRECTIONAL_OCCLUSION denoiser
  • REBLUR: tweaked plane distance sensitivity after history reset to minimize overblur
  • REBLUR: tuned blur radius in spatial passes if number of accumulated frames is low (gives IQ and performance)
  • REBLUR: switched anti-firefly to 3x3 instead of 5x5
  • REBLUR: anti-firefly and fast history clamping improvements