4lex4nder / ReshadeEffectShaderToggler-BG3

REST config for Baldur's Gate 3
MIT License
3 stars 0 forks source link

ReshadeEffectShaderToggler-BG3

REST config for Baldur's Gate 3

Requirements

What does it do

What does it not do

Provide a perfect solution. Since effects are, by default, applied onto a render target that has yet to be clamped, many effects are simply going to produce garbage colors.

Batteries included

Some example effects using game data provided by REST

bg3_common.fxh

If you know your way around shaders, you can use this header file to access some game engine data in your ReShade effects. Including:

bg3_xegtao.fx

A port of Intel's XeGTAO AO shader to ReShade making full use of bg3_common.fxh. Applied before fog by default.

bg3_xegtao_gi.fx

My poor, barebones attempt at using visibility bitmasks hacked into XeGTAO for AO and GI. Requires bg3_crashpad.fx running before it. Applied before fog by default.

bg3_crashpad.fx

A helper shader providing the game's normals and motion vectors in known formats. Executed before fog by default.