-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
67 changed files
with
1,870 additions
and
1,720 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,9 @@ | ||
@echo off | ||
|
||
set "use_pause=y" | ||
|
||
:PARSE | ||
if "%~1"=="" goto :MAIN | ||
|
||
if /i "%~1"=="-h" goto :HELP | ||
if /i "%~1"=="--help" goto :HELP | ||
|
||
if /i "%~1"=="--no-pause" set "use_pause=" | ||
|
||
shift | ||
goto :PARSE | ||
|
||
:MAIN | ||
|
||
git submodule update --init --recursive | ||
if %errorlevel% neq 0 exit /b %errorlevel% | ||
|
||
mkdir "_Compiler" | ||
|
||
cd "_Compiler" | ||
cmake .. -A x64 | ||
if %errorlevel% neq 0 exit /b %errorlevel% | ||
cd .. | ||
|
||
if defined use_pause pause | ||
exit | ||
|
||
:HELP | ||
echo. -h, --help show help message | ||
echo. --no-pause skip pause in the end of script | ||
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,5 @@ git submodule update --init --recursive | |
mkdir -p "_Compiler" | ||
|
||
cd "_Compiler" | ||
cmake .. | ||
cmake .. -A x64 | ||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,6 @@ | ||
@echo off | ||
|
||
set "use_pause=y" | ||
set "debug_build=" | ||
set "no_debug_build=" | ||
|
||
:PARSE | ||
if "%~1"=="" goto :MAIN | ||
|
||
if /i "%~1"=="-h" goto :HELP | ||
if /i "%~1"=="--help" goto :HELP | ||
|
||
if /i "%~1"=="--no-pause" set "use_pause=" | ||
|
||
if /i "%~1"=="--debug-build" set "debug_build=y" | ||
if /i "%~1"=="--no-debug-build" set "no_debug_build=y" | ||
|
||
shift | ||
goto :PARSE | ||
|
||
:MAIN | ||
mkdir "_Compiler" | ||
|
||
cd "_Compiler" | ||
del CMakeCache.txt | ||
cmake -DCMAKE_BUILD_TYPE=Release .. -A x64 | ||
if %errorlevel% neq 0 goto :END | ||
cmake --build . --config Release | ||
if %errorlevel% neq 0 goto :END | ||
cd .. | ||
|
||
echo. | ||
if defined debug_build goto :BUILD_DEBUG | ||
if defined no_debug_build goto :END | ||
set /P M=Do you want to build DEBUG configuration? [y/n] | ||
if /I "%M%" neq "y" goto :END | ||
|
||
:BUILD_DEBUG | ||
|
||
cd "_Compiler" | ||
del CMakeCache.txt | ||
cmake -DCMAKE_BUILD_TYPE=Debug .. -A x64 | ||
if %errorlevel% neq 0 goto :END | ||
cmake --build . --config Debug | ||
if %errorlevel% neq 0 goto :END | ||
cd .. | ||
|
||
:END | ||
if defined use_pause pause | ||
exit /b %errorlevel% | ||
|
||
:HELP | ||
echo. -h, --help show help message | ||
echo. --no-pause skip pause in the end of script | ||
echo. --debug-build build NRD SDK in Debug configuration | ||
echo. --no-debug-build don't build NRD SDK in Debug configuration | ||
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
@echo off | ||
|
||
if exist "build" rd /q /s "build" | ||
|
||
if exist "_Build" rd /q /s "_Build" | ||
if exist "_Compiler" rd /q /s "_Compiler" | ||
if exist "_NRD_SDK" rd /q /s "_NRD_SDK" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/bin/sh | ||
|
||
rm -rf "build" | ||
|
||
rm -rf "_Build" | ||
rm -rf "_Compiler" | ||
rm -rf "_NRD_SDK" |
Oops, something went wrong.