Skip to content

Commit 4d57ef3

Browse files
committed
Updated deps
1 parent fd7aafb commit 4d57ef3

File tree

5 files changed

+7
-13
lines changed

5 files changed

+7
-13
lines changed

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ endif()
8282
set(DEPS)
8383

8484
# SHARC
85-
FetchContent_Declare(
85+
fetchcontent_declare(
8686
sharc
8787
DOWNLOAD_EXTRACT_TIMESTAMP 1
8888
DOWNLOAD_NO_PROGRESS 1
@@ -93,16 +93,16 @@ list(APPEND DEPS sharc)
9393

9494
# RTXCR
9595
if(RTXCR_INTEGRATION)
96-
FetchContent_Declare(
96+
fetchcontent_declare(
9797
rtxcr
9898
DOWNLOAD_EXTRACT_TIMESTAMP 1
9999
DOWNLOAD_NO_PROGRESS 1
100100
SOURCE_SUBDIR "ignore CMakeLists.txt"
101-
URL https://github.com/NVIDIA-RTX/RTXCR-Material-Library/archive/refs/tags/v1.1.0.zip
101+
URL https://github.com/NVIDIA-RTX/RTXCR-Material-Library/archive/refs/tags/v1.2.0.zip
102102
)
103103
list(APPEND DEPS rtxcr)
104104

105-
FetchContent_Declare(
105+
fetchcontent_declare(
106106
claire
107107
GIT_REPOSITORY https://github.com/NVIDIA-RTX/RTXCR-Assets.git
108108
GIT_TAG v1.1.0
@@ -117,7 +117,7 @@ if(DEPS)
117117
message("Downloading dependencies:")
118118
message(STATUS "${DEPS} ...")
119119

120-
FetchContent_MakeAvailable(${DEPS})
120+
fetchcontent_makeavailable(${DEPS})
121121
endif()
122122

123123
# Compile options

Shaders/Include/RaytracingShared.hlsli

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ NRI_RESOURCE( RWStructuredBuffer<SharcPackedData>, gInOut_SharcResolved, u, 2, S
2626

2727
#if( RTXCR_INTEGRATION == 1 )
2828

29-
// Forgotten by RTXCR
30-
float luminance( float3 x )
31-
{
32-
return Color::Luminance( x );
33-
}
34-
3529
#include "HairFarFieldBCSDF.hlsli"
3630
#include "SubsurfaceScattering.hlsli"
3731

Tests/BistroInterior.bin

648 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)