FSR2 tests in Unity based on built-in render pipeline
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
374 B

// Each #kernel tells which function to compile; you can have many kernels
#pragma kernel CS
#pragma kernel CS_HALF CS=CS_HALF FFX_HALF
#pragma kernel CS_HDR CS=CS_HDR FFX_FSR2_OPTION_HDR_COLOR_INPUT
// Some global defines are needed
#define FFX_GPU // Compiling for GPU
#define FFX_HLSL // Compile for plain HLSL
#include "shaders/ffx_fsr2_rcas_pass.hlsl"