diff --git a/Assets/Resources/FSR2/ffx_fsr2_accumulate_pass.compute b/Assets/Resources/FSR2/ffx_fsr2_accumulate_pass.compute index 21eb745..3892f82 100644 --- a/Assets/Resources/FSR2/ffx_fsr2_accumulate_pass.compute +++ b/Assets/Resources/FSR2/ffx_fsr2_accumulate_pass.compute @@ -8,7 +8,7 @@ #pragma multi_compile_local __ FFX_FSR2_OPTION_INVERTED_DEPTH #pragma multi_compile_local __ FFX_FSR2_OPTION_APPLY_SHARPENING -#include "ffx_fsr2_unity_common.h" +#include "ffx_fsr2_unity_common.cginc" // Ensure the correct value is defined for this keyword, as it is used to select one of multiple sampler functions #ifdef FFX_FSR2_OPTION_REPROJECT_USE_LANCZOS_TYPE diff --git a/Assets/Resources/FSR2/ffx_fsr2_autogen_reactive_pass.compute b/Assets/Resources/FSR2/ffx_fsr2_autogen_reactive_pass.compute index 7badfc3..5733ee7 100644 --- a/Assets/Resources/FSR2/ffx_fsr2_autogen_reactive_pass.compute +++ b/Assets/Resources/FSR2/ffx_fsr2_autogen_reactive_pass.compute @@ -8,6 +8,6 @@ #pragma multi_compile_local __ FFX_FSR2_OPTION_INVERTED_DEPTH #pragma multi_compile_local __ FFX_FSR2_OPTION_APPLY_SHARPENING -#include "ffx_fsr2_unity_common.h" +#include "ffx_fsr2_unity_common.cginc" #include "shaders/ffx_fsr2_autogen_reactive_pass.hlsl" diff --git a/Assets/Resources/FSR2/ffx_fsr2_compute_luminance_pyramid_pass.compute b/Assets/Resources/FSR2/ffx_fsr2_compute_luminance_pyramid_pass.compute index 60695d0..fb522b8 100644 --- a/Assets/Resources/FSR2/ffx_fsr2_compute_luminance_pyramid_pass.compute +++ b/Assets/Resources/FSR2/ffx_fsr2_compute_luminance_pyramid_pass.compute @@ -8,7 +8,7 @@ #pragma multi_compile_local __ FFX_FSR2_OPTION_INVERTED_DEPTH #pragma multi_compile_local __ FFX_FSR2_OPTION_APPLY_SHARPENING -#include "ffx_fsr2_unity_common.h" +#include "ffx_fsr2_unity_common.cginc" // Wave operations require shader model 6.0; this can only be enabled when using DXC on D3D12 #if defined(UNITY_COMPILER_DXC) && defined(SHADER_API_D3D12) diff --git a/Assets/Resources/FSR2/ffx_fsr2_depth_clip_pass.compute b/Assets/Resources/FSR2/ffx_fsr2_depth_clip_pass.compute index a6084ea..30263f6 100644 --- a/Assets/Resources/FSR2/ffx_fsr2_depth_clip_pass.compute +++ b/Assets/Resources/FSR2/ffx_fsr2_depth_clip_pass.compute @@ -8,6 +8,6 @@ #pragma multi_compile_local __ FFX_FSR2_OPTION_INVERTED_DEPTH #pragma multi_compile_local __ FFX_FSR2_OPTION_APPLY_SHARPENING -#include "ffx_fsr2_unity_common.h" +#include "ffx_fsr2_unity_common.cginc" #include "shaders/ffx_fsr2_depth_clip_pass.hlsl" diff --git a/Assets/Resources/FSR2/ffx_fsr2_lock_pass.compute b/Assets/Resources/FSR2/ffx_fsr2_lock_pass.compute index 18fa29e..2fba95d 100644 --- a/Assets/Resources/FSR2/ffx_fsr2_lock_pass.compute +++ b/Assets/Resources/FSR2/ffx_fsr2_lock_pass.compute @@ -8,6 +8,6 @@ #pragma multi_compile_local __ FFX_FSR2_OPTION_INVERTED_DEPTH #pragma multi_compile_local __ FFX_FSR2_OPTION_APPLY_SHARPENING -#include "ffx_fsr2_unity_common.h" +#include "ffx_fsr2_unity_common.cginc" #include "shaders/ffx_fsr2_lock_pass.hlsl" diff --git a/Assets/Resources/FSR2/ffx_fsr2_rcas_pass.compute b/Assets/Resources/FSR2/ffx_fsr2_rcas_pass.compute index 2af9b5b..302963b 100644 --- a/Assets/Resources/FSR2/ffx_fsr2_rcas_pass.compute +++ b/Assets/Resources/FSR2/ffx_fsr2_rcas_pass.compute @@ -7,6 +7,6 @@ #pragma multi_compile_local __ FFX_FSR2_OPTION_INVERTED_DEPTH #pragma multi_compile_local __ FFX_FSR2_OPTION_APPLY_SHARPENING -#include "ffx_fsr2_unity_common.h" +#include "ffx_fsr2_unity_common.cginc" #include "shaders/ffx_fsr2_rcas_pass.hlsl" diff --git a/Assets/Resources/FSR2/ffx_fsr2_reconstruct_previous_depth_pass.compute b/Assets/Resources/FSR2/ffx_fsr2_reconstruct_previous_depth_pass.compute index 45dba34..c1f35e9 100644 --- a/Assets/Resources/FSR2/ffx_fsr2_reconstruct_previous_depth_pass.compute +++ b/Assets/Resources/FSR2/ffx_fsr2_reconstruct_previous_depth_pass.compute @@ -8,6 +8,6 @@ #pragma multi_compile_local __ FFX_FSR2_OPTION_INVERTED_DEPTH #pragma multi_compile_local __ FFX_FSR2_OPTION_APPLY_SHARPENING -#include "ffx_fsr2_unity_common.h" +#include "ffx_fsr2_unity_common.cginc" #include "shaders/ffx_fsr2_reconstruct_previous_depth_pass.hlsl" diff --git a/Assets/Resources/FSR2/ffx_fsr2_unity_common.h b/Assets/Resources/FSR2/ffx_fsr2_unity_common.cginc similarity index 100% rename from Assets/Resources/FSR2/ffx_fsr2_unity_common.h rename to Assets/Resources/FSR2/ffx_fsr2_unity_common.cginc diff --git a/Assets/Resources/FSR2/ffx_fsr2_unity_common.cginc.meta b/Assets/Resources/FSR2/ffx_fsr2_unity_common.cginc.meta new file mode 100644 index 0000000..8393144 --- /dev/null +++ b/Assets/Resources/FSR2/ffx_fsr2_unity_common.cginc.meta @@ -0,0 +1,27 @@ +fileFormatVersion: 2 +guid: bb2d4d4671c448698877526c29f2fc99 +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/FSR2/ffx_fsr2_unity_common.h.meta b/Assets/Resources/FSR2/ffx_fsr2_unity_common.h.meta deleted file mode 100644 index 3266648..0000000 --- a/Assets/Resources/FSR2/ffx_fsr2_unity_common.h.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: bb2d4d4671c448698877526c29f2fc99 -timeCreated: 1677836370 \ No newline at end of file diff --git a/Assets/Scripts/Debug.meta b/Assets/Scripts/Debug.meta new file mode 100644 index 0000000..14d2f0b --- /dev/null +++ b/Assets/Scripts/Debug.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: af694cbb9bd173d4992854e2d68714dd +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/CameraMover.cs b/Assets/Scripts/Debug/CameraMover.cs similarity index 100% rename from Assets/Scripts/CameraMover.cs rename to Assets/Scripts/Debug/CameraMover.cs diff --git a/Assets/Scripts/CameraMover.cs.meta b/Assets/Scripts/Debug/CameraMover.cs.meta similarity index 100% rename from Assets/Scripts/CameraMover.cs.meta rename to Assets/Scripts/Debug/CameraMover.cs.meta diff --git a/Assets/Scripts/DebugDumper.cs b/Assets/Scripts/Debug/DebugDumper.cs similarity index 100% rename from Assets/Scripts/DebugDumper.cs rename to Assets/Scripts/Debug/DebugDumper.cs diff --git a/Assets/Scripts/DebugDumper.cs.meta b/Assets/Scripts/Debug/DebugDumper.cs.meta similarity index 100% rename from Assets/Scripts/DebugDumper.cs.meta rename to Assets/Scripts/Debug/DebugDumper.cs.meta