博德之门3v1.7.1.6802026年10月12日 更新

REST Enhanced - ReShade Effect Shader Toggler

REST Enhanced is an expanded and actively developed version of ReShade Effect Shader Toggler (REST), designed to let selected ReShade effects run at specific points inside Baldur's Gate 3's rendering pipeline instead of only at ReShade's normal end-of-frame stage. This is especially useful for effects such as ambient occlusion, lighting and other scene-space shaders that should appear beneath later game fog, post-processing and UI elements, rather than being drawn over the finished image. Baldur

REST Enhanced is an expanded and actively developed version of ReShade Effect Shader Toggler (REST), designed to let selected ReShade effects run at specific points inside Baldur's Gate 3's rendering pipeline instead of only at ReShade's normal end-of-frame stage.

This is especially useful for effects such as ambient occlusion, lighting and other scene-space shaders that should appear beneath later game fog, post-processing and UI elements, rather than being drawn over the finished image.

Baldur's Gate 3 has been my primary development and testing environment for REST Enhanced, using both Direct3D 11 and Vulkan.

The enhanced version also introduces Auto Scene Colour, which can automatically identify the relevant live scene-colour target and handle resolution differences caused by rendering techniques such as DLSS.

This means REST can take a ReShade effect that would normally render at the end of the frame and instead place it at a much more appropriate point in BG3's rendering pipeline.

Requirements

You must already have ReShade installed for Baldur's Gate 3 with add-on support enabled.

REST Enhanced supports both:

  • Direct3D 11
  • Vulkan

For Baldur's Gate 3, use the 64-bit add-on:

ReshadeEffectShaderToggler.addon64

REST stores its configuration in:

ReshadeEffectShaderToggler.ini

The previous configuration is also retained automatically as:

ReshadeEffectShaderToggler.ini.bak

Installation steps

  • Download the main REST Enhanced file from the Files tab.
  • Extract ReshadeEffectShaderToggler.addon64 from the archive.
  • Place ReshadeEffectShaderToggler.addon64 beside the Baldur's Gate 3 executable used by your ReShade installation.
  • Download the optional Baldur's Gate 3 REST Configs - D3D11 and Vulkan file from the Optional Files section.
  • Open the configuration folder matching the renderer you use.

D3D11 

Use the D3D11 folder if you launch Baldur's Gate 3 with Direct3D 11 using bg3_dx11.exe.

Vulkan 

Use the Vulkan folder if you launch Baldur's Gate 3 with the Vulkan renderer.

  • Copy ReshadeEffectShaderToggler.ini from the appropriate renderer folder to the same location as ReshadeEffectShaderToggler.addon64.

Important: If you already have a REST configuration, back up your existing ReshadeEffectShaderToggler.ini before replacing it.

  • Launch Baldur's Gate 3 using the same renderer as the configuration you installed.
  • Open the ReShade overlay.
  • Open the Add-ons tab and confirm that REST Enhanced - ReShade Effect Shader Toggler is loaded.
  • The supplied Baldur's Gate 3 configuration should now be available in REST Enhanced.

Make sure the installed configuration matches the renderer you are currently using:

D3D11 config for Direct3D 11 

Vulkan config for Vulkan

Note: The supplied configuration files are intended as ready-to-use starting points for Baldur's Gate 3. You can still edit the groups, shader hashes, effects and settings from the REST Enhanced interface if you want to customise them further.

The supplied configuration also includes an accurately marked UI group with Hide marked shaders enabled. The UI group itself is disabled by default. Enabling the group will suppress its marked UI shader draws, making it useful both as a HUD toggle and as a quick way to verify that the correct UI shaders have been identified.

Existing REST configuration files remain compatible.

Shader-based ReShade injection

REST allows you to mark game shaders and associate selected ReShade techniques with them.

Instead of the effect being applied after the whole game frame is complete, REST can execute it at the selected point in the rendering pipeline.

For Baldur's Gate 3, this can allow effects to render before later:

  • Fog
  • Post-processing
  • UI composition
  • Other game rendering stages

This is particularly useful for screen-space effects that otherwise appear incorrectly over menus, fog or interface elements.

Auto Scene Colour

**

Auto Scene Colour** is intended to reduce the amount of manual render-target configuration required when finding a usable injection point.

REST analyses the live rendering target associated with the selected shader and can automatically determine the scene-colour surface needed for the selected ReShade effects.

It also supports situations where the game's internal rendering resolution differs from the final ReShade/output resolution.

For example, one of my tested Baldur's Gate 3 Vulkan configurations uses:

Scene: 2560x1440

Output: 3840x2160

Format: R11G11B10_FLOAT

Staging: Vulkan image blit

Boundary: post-pass RT transition

Techniques: Lumenite_Kernel -> Lumenite_LSAO

This allows those effects to render at the chosen scene boundary while later Baldur's Gate 3 fog and UI rendering remain above them.

Exact shader hashes and suitable injection points can vary depending on game version, renderer, graphics settings and upscaler configuration.

Direct3D 11 and Vulkan support

Baldur's Gate 3 has been my primary testing target under both renderers.

**Direct3D 11

**The D3D11 path has received extensive testing, particularly with:

  • DLSS
  • Internal-resolution rendering
  • Native-resolution staging
  • Multi-pass ReShade effects
  • UI and fog separation

**Vulkan

**The Vulkan implementation includes:

  • Native-resolution image-blit staging
  • Safe deferred injection boundaries
  • Render-pass and subpass awareness
  • Resource-state restoration
  • Safe shader preview handling
  • Vulkan-specific Auto Scene Colour diagnostics

The Vulkan implementation deliberately avoids injecting effects inside unsafe game render-pass boundaries.

Improved shader hunting

REST Enhanced significantly improves the original shader-hunting workflow.

Features include:

  • Responsive shader-hunting interface
  • Adaptive two-column shader list
  • Deterministic shader ordering
  • Hide marked shaders
  • Press-and-hold Prev / Next navigation
  • Prev marked / Next marked
  • Mark + Previous / Mark + Next
  • Copy shader hash
  • Rescan active shaders
  • Search
  • All / Marked / Unmarked filtering
  • RGB / R / G / B preview channels
  • Retained session UI state
  • Improved Vulkan preview safety

The two-column list follows the same order as Prev/Next navigation, moving down the left column before continuing at the top of the right.

Direct selection is based on the actual shader hash, avoiding mismatches between the displayed shader and the selected one.

Hide marked shaders

REST Enhanced can suppress draws that use shaders marked in a group.

When Hide marked shaders is enabled, activating that group hides the matching marked shader draws instead of allowing them to render normally.

This is particularly useful for:

  • Verifying that a group contains the intended shaders
  • Identifying missing or incorrectly marked UI shaders
  • Temporarily hiding HUD or UI elements
  • Creating a simple screenshot or photo-mode style HUD toggle
  • Seeing exactly which parts of the image are produced by a marked shader group

For example, the supplied Baldur's Gate 3 configuration includes an accurately marked UI group with Hide marked shaders already enabled. The group itself remains disabled by default, so the UI behaves normally until you activate it.

Enabling the UI group will hide its marked UI shader draws. Assigning a hotkey to the group allows the identified HUD/UI elements to be toggled on and off instantly.

This functionality is separate from ReShade effect selection and is also useful as a diagnostic tool when creating or refining REST configurations.

Group sharing

REST groups can be copied to and imported directly from the clipboard.

This makes it much easier to share working Baldur's Gate 3 shader configurations between users.

Imported groups are deliberately created:

  • Inactive
  • Without a hotkey

This prevents a shared configuration from unexpectedly changing your game rendering as soon as it is imported.

Configuration safety

REST Enhanced includes a safer configuration-saving system.

When saving:

  • The new configuration is written to a temporary file.
  • The temporary configuration is reparsed and verified.
  • The existing configuration is retained as a backup.
  • The verified configuration atomically replaces the live INI.

A configuration version field is also included for future compatibility and migration handling.

Diagnostics

Auto Scene Colour includes detailed diagnostics intended to make identifying suitable rendering targets easier.

The interface can report:

  • Current shader hash
  • Scene target
  • Scene resolution
  • Effect resolution
  • Resource format
  • Staging path
  • Vulkan injection boundary
  • Selected technique order
  • Successful render count
  • Recent candidate targets

The Recent candidates view groups repeated activity belonging to the same shader/target candidate instead of filling the diagnostics with repeated Waiting / Matched / Successful entries.

Stability improvements

REST Enhanced includes a number of runtime and concurrency fixes beyond the original project.

One important Vulkan issue discovered during BG3 stress testing involved rapidly cycling through shader targets with different preview resources.

The old preview image could potentially be destroyed while still referenced by recorded or executing Vulkan commands, eventually causing:

VK_ERROR_DEVICE_LOST

REST now safely flushes ReShade's immediate command list and synchronises the Vulkan graphics queue before replacing those preview resources.

The fix was stress-tested by continuously cycling through large shader collections using held Prev/Next navigation.

REST Enhanced also includes a number of internal performance improvements:

  • Cached configuration dirty state
  • Cached and sorted ReShade technique metadata
  • Reduced shader-hash copying
  • Reduced selected-technique copying
  • Vulkan pending-work fast paths
  • Deferred Vulkan work skipped when nothing is pending
  • Preserved render-pass tracking for correctness

Requirements

  • Baldur's Gate 3
  • ReShade with add-on support
  • 64-bit REST Enhanced add-on

Supported BG3 rendering APIs:

  • Direct3D 11
  • Vulkan

REST Enhanced itself also supports D3D10, D3D11, D3D12 and Vulkan on x86 and x64, although Baldur's Gate 3 D3D11 and Vulkan are my primary real-world testing targets.

No specific ReShade preset or shader package is required.

The ReShade effects you choose to inject are entirely up to you.

REST does not change Baldur's Gate 3 game files.

Shader hashes and ideal injection points may change depending on:

  • Game updates
  • Graphics API
  • Resolution
  • DLSS or other upscalers
  • Graphics settings
  • Driver behaviour
  • ReShade configuration

A configuration created for one setup should therefore not automatically be assumed to work identically for every user.

If Auto Scene Colour cannot identify a safe compatible target, REST is designed to avoid unsafe injection rather than force the operation.

I am actively looking for feedback, bug reports and testing so I can continue developing REST Enhanced.

Baldur's Gate 3 using D3D11 and Vulkan has been my primary testing environment, but there are many combinations of hardware, game settings, resolutions and upscalers that I cannot test myself.

I would particularly appreciate feedback on:

  • D3D11
  • Vulkan
  • DLSS
  • Different output resolutions
  • Different internal rendering resolutions
  • Other upscalers
  • Large shader collections
  • Auto Scene Colour target detection
  • Different ReShade shader packages
  • Unusual rendering behaviour
  • UI or workflow improvements

Positive reports are useful too.

Knowing that a particular configuration works correctly helps establish what is already stable and where more testing is needed.

When reporting an issue, please include where possible:

  • Baldur's Gate 3 version
  • D3D11 or Vulkan
  • ReShade version
  • REST Enhanced version
  • GPU
  • Resolution
  • Upscaler and quality mode
  • Whether Auto Scene Colour is enabled
  • Relevant shader hash
  • REST diagnostics
  • ReShade log
  • Screenshot or short video if useful

Feedback can be posted on Nexus Mods, the ReShade forum thread or GitHub.

GitHub repository

https://github.com/Pav-Osmolski/ReshadeEffectShaderToggler

ReShade forum thread

REST Enhanced - ReShade Effect Shader Toggler with Auto Scene Colour

REST Enhanced builds on the work of the original REST / ShaderToggler contributors and the ReShade project.

Many thanks to the original authors and contributors whose work made this project possible.

Current REST Enhanced development, documentation and testing by DeViLhoOD (aka gofftiddums).

来源与文件

文件说明

REST Enhanced v1.7.1.680 for Baldur's Gate 3. Includes the x64 ReShade add-on, docs, shaders and support files. Supports D3D11/Vulkan, Auto Scene Colour, DLSS/FSR upscaling, improved shader hunting, diagnostics and HUD/UI hiding.

来源列出的依赖与关系

  • 作者列出的前置:ReShade 6.8+ — Install the ReShade build with full add-on support. REST Enhanced will not load with builds that do not allow third-party add-ons.

前往 N 网打开所选文件。安装与下载要求以原作者及平台说明为准。

<!-- aoe-mods-source:nexusmods:baldursgate3:25187 -->

下载模块

共 1 个来源
立即下载推荐来源
前往下载