From d6238b443752fc78adb017c40436d2f590028afb Mon Sep 17 00:00:00 2001 From: Peter Kristof Date: Tue, 10 Sep 2024 09:56:25 -0700 Subject: [PATCH] Defaulted to Gbuffer::RayQuery to match auto preset --- RtxOptions.md | 2 +- src/dxvk/rtx_render/rtx_options.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RtxOptions.md b/RtxOptions.md index 931210c3..18e4af6f 100644 --- a/RtxOptions.md +++ b/RtxOptions.md @@ -526,7 +526,7 @@ Tables below enumerate all the options and their defaults set by RTX Remix. Note |rtx.recompileShadersOnLaunch|bool|False|When set to true runtime shader recompilation will execute on the first frame after launch\.| |rtx.reflexMode|int|1|Reflex mode selection, enabling it helps minimize input latency, boost mode may further reduce latency by boosting GPU clocks in CPU\-bound cases\.
Supported enum values are 0 = None \(Disabled\), 1 = LowLatency \(Enabled\), 2 = LowLatencyBoost \(Enabled \+ Boost\)\.
Note that even when using the "None" Reflex mode Reflex will attempt to be initialized\. Use rtx\.isReflexEnabled to fully disable to skip this initialization if needed\.| |rtx.reloadTextureWhenResolutionChanged|bool|False|Reload texture when resolution changed\.| -|rtx.renderPassGBufferRaytraceMode|int|2|The ray tracing mode to use for the G\-Buffer pass which resolves the initial primary and secondary surfaces to apply lighting to\.| +|rtx.renderPassGBufferRaytraceMode|int|0|The ray tracing mode to use for the G\-Buffer pass which resolves the initial primary and secondary surfaces to apply lighting to\.| |rtx.renderPassIntegrateDirectRaytraceMode|int|0|The ray tracing mode to use for the Direct Lighting pass which applies lighting to the primary/secondary surfaces\.| |rtx.renderPassIntegrateIndirectRaytraceMode|int|2|The ray tracing mode to use for the Indirect Lighting pass which applies lighting to the primary/secondary surfaces\.| |rtx.replaceDirectSpecularHitTWithIndirectSpecularHitT|bool|True|| diff --git a/src/dxvk/rtx_render/rtx_options.h b/src/dxvk/rtx_render/rtx_options.h index 61e79165..f28dbb97 100644 --- a/src/dxvk/rtx_render/rtx_options.h +++ b/src/dxvk/rtx_render/rtx_options.h @@ -403,7 +403,7 @@ namespace dxvk { // Note: All ray tracing modes depend on the rtx.raytraceModePreset option as they may be overridden by automatic defaults for a specific vendor if the preset is set to Auto. Set // to Custom to ensure these settings are not overridden. //RenderPassVolumeIntegrateRaytraceMode renderPassVolumeIntegrateRaytraceMode = RenderPassVolumeIntegrateRaytraceMode::RayQuery; - RTX_OPTION_ENV("rtx", RenderPassGBufferRaytraceMode, renderPassGBufferRaytraceMode, RenderPassGBufferRaytraceMode::TraceRay, "DXVK_RENDER_PASS_GBUFFER_RAYTRACE_MODE", + RTX_OPTION_ENV("rtx", RenderPassGBufferRaytraceMode, renderPassGBufferRaytraceMode, RenderPassGBufferRaytraceMode::RayQuery, "DXVK_RENDER_PASS_GBUFFER_RAYTRACE_MODE", "The ray tracing mode to use for the G-Buffer pass which resolves the initial primary and secondary surfaces to apply lighting to."); RTX_OPTION_ENV("rtx", RenderPassIntegrateDirectRaytraceMode, renderPassIntegrateDirectRaytraceMode, RenderPassIntegrateDirectRaytraceMode::RayQuery, "DXVK_RENDER_PASS_INTEGRATE_DIRECT_RAYTRACE_MODE", "The ray tracing mode to use for the Direct Lighting pass which applies lighting to the primary/secondary surfaces.");