: Fixed common errors during initial shader loading in ReShade.
RTGI is a state-of-the-art shader that simulates how light interacts with objects in a game environment, providing and ambient occlusion . Because it operates on depth data rather than requiring specific hardware, it allows players with non-RTX graphics cards to experience ray-traced lighting.
[ReShade Error] RTGI.fx : Failed to compile / Missing macro headers Verification and Directory Placement
This assumes "RTGI" refers to the popular shader (typically by Pascal Gilcher).
Use ReShade 5.0 or newer. Older versions cannot correctly parse the modern preprocessor definitions used in RTGI 0.17.02. rtgi 01702 release fix
to restore stable lighting behavior. No settings changes required.
If it compiles successfully at a standard resolution, you can then try re-enabling your preferred resolution. Best Practices to Avoid Future RTGI Errors
Ensure your depth buffer settings match your game's engine requirements (e.g., RESHADE_DEPTH_INPUT_IS_REVERSED set to 0 or 1 depending on the game). Incorrect depth formatting can occasionally trip up specific versions of the RTGI compiler. Fix 4: Verify the Global Resolution Scaling
Fixing issues where the ray tracing would appear "inside out" or disconnected from objects, often resolved by toggling the RESHADE_DEPTH_INPUT_IS_REVERSED preprocessor definition. : Fixed common errors during initial shader loading
You are trying to run a newer version of the RTGI shader on an outdated version of ReShade, or vice versa.
If your RTGI version came with a Textures folder, copy those specific image files into the reshade-shaders/Textures directory. 3. Clear the ReShade Shader Cache
Follow these solutions in order to resolve your installation and performance issues. 1. Perform a Clean ReShade Installation
: Frequently paired with the NaturalVision Evolved (NVE) October Update. Horizon Zero Dawn : Often used with ReShade 4.9.1. [ReShade Error] RTGI
: Inside the game, open the ReShade menu (usually the Home key) and click "Reload" at the bottom to ensure the 01702 logic is active.
I can provide game-specific preprocessor values or help you upgrade to a newer, more stable RTGI build. Share public link
If you downloaded an older, archived version of RTGI to work with a specific game mod, it may not compile on the newest ReShade builds.
: Refined the spatial denoising algorithms to reduce the GPU overhead. This allows for smoother frame rates when the "Ultra" quality preset is selected.