4lex4nder / ReshadeEffectShaderToggler

Reshade 5+ addin to apply Reshade effects to render targets of shader groups based on a key press. It allows you to configure these groups from within the addin as well.
MIT License
89 stars 9 forks source link

Preserve alpha #44

Closed 4lex4nder closed 7 months ago

4lex4nder commented 7 months ago

Add option to prevent effects from overwriting the alpha channel of the render target by:

  1. Create a render target for the group
  2. Copy the contents of the original render target to the group's render target
  3. Apply effects on the group's render target
  4. Copy the group's render target contents back to the original render target while masking only the RGB channels