Skip to content

Commit

Permalink
v4.3.6:
Browse files Browse the repository at this point in the history
HIGHLIGHTS:
- NRD: made less sensitive to INF in MV

DETAILS:
- NRD: newly added "saturate" calls in MathLib helps to avoid "INF - INF = NAN" if MV has INF in components
- REBLUR: "normalize" replaced with "safe normalize" for prev normal
  • Loading branch information
dzhdanNV committed Nov 3, 2023
1 parent fdb08f1 commit 067755e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion External/MathLib
Submodule MathLib updated 1 files
+2 −2 STL.hlsli
2 changes: 1 addition & 1 deletion External/ShaderMake
4 changes: 2 additions & 2 deletions Include/NRD.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ license agreement from NVIDIA CORPORATION is strictly prohibited.

#define NRD_VERSION_MAJOR 4
#define NRD_VERSION_MINOR 3
#define NRD_VERSION_BUILD 5
#define NRD_VERSION_DATE "25 October 2023"
#define NRD_VERSION_BUILD 6
#define NRD_VERSION_DATE "3 November 2023"

#if defined(_MSC_VER)
#define NRD_CALL __fastcall
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# NVIDIA REAL-TIME DENOISERS v4.3.5 (NRD)
# NVIDIA REAL-TIME DENOISERS v4.3.6 (NRD)

[![Build NRD SDK](https://github.com/NVIDIAGameWorks/RayTracingDenoiser/actions/workflows/build.yml/badge.svg)](https://github.com/NVIDIAGameWorks/RayTracingDenoiser/actions/workflows/build.yml)

Expand Down
2 changes: 1 addition & 1 deletion Resources/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ Versioning rules:

#define VERSION_MAJOR 4
#define VERSION_MINOR 3
#define VERSION_BUILD 5
#define VERSION_BUILD 6

#define VERSION_STRING STR(VERSION_MAJOR.VERSION_MINOR.VERSION_BUILD encoding=NRD_NORMAL_ENCODING.NRD_ROUGHNESS_ENCODING)
2 changes: 1 addition & 1 deletion Shaders/Include/REBLUR/REBLUR_Common.hlsli
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ float4 UnpackNormalAndRoughness( float4 p, bool isNormalized = true )
p.xyz = p.xyz * 2.0 - 1.0;

if( isNormalized )
p.xyz = normalize( p.xyz );
p.xyz /= max( length( p.xyz ), NRD_EPS );

return p;
}
Expand Down

0 comments on commit 067755e

Please sign in to comment.